# XCode libraries xcode-select--install# Homebrew /bin/bash-c"$(curl-fsSLhttps://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"echo'eval "$(/opt/homebrew/bin/brew shellenv)"'>>/Users/$(whoami)/.zprofileeval"$(/opt/homebrew/bin/brewshellenv)"brewupdatefunction install_or_upgrade { brew ls | grep $1 > /dev/null; if (($? == 0)); then brew upgrade $1; else brew install $1; fi }
install_or_upgrade"git"install_or_upgrade"wget"install_or_upgrade"imagemagick"install_or_upgrade"jq"install_or_upgrade"openssl"# Oh my ZSH sh-c"$(curl-fsSLhttps://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"echo'export PATH=/opt/homebrew/bin:$PATH'>>~/.zshrc# restart the terminal# Generate a public key # (Use the email you use to create your Github account) mkdir-p~/.ssh&&ssh-keygen-ted25519-o-a100-f~/.ssh/id_ed25519-C"TYPE_YOUR_EMAIL@HERE.com"cat~/.ssh/id_ed25519.pub# Once you have that public key # Go to your GitHub settings# Add that SSh key to your account # Get some dotfilesgitclonegit@github.com:lewagon/dotfiles.gitcddotfiles./install.sh# Restart the terminal # Install RBENV sudorm-rf $HOME/.rbenv/usr/local/rbenv/opt/rbenv/usr/local/opt/rbenvbrewuninstall--forcerbenvruby-buildunsetRBENV_ROOT&&execzshbrewinstallrbenvruby-build&&echo'eval "$(rbenv init -)"'>>~/.zshrc&&execzsh# Restart the terminal # Install ruby rbenvinstall2.7.2rbenvglobal2.7.2# Restart your terminal# Install some gems geminstallrakebundlerrspecrubocopprypry-byebughubcoloredoctokitrails# Install postgres brewinstallpostgresql@12&&brewservicesstartpostgresql@12# Restart the terminal # Install redis brewinstallredis@4.0# Install watchman brewinstallwatchman# Then some other tools & libraries brewinstallheroku/brew/herokubrewinstallnvm# Restart the terminalcat~/.zshrc# make sure you see the following 2 lines in it:# export NVM_DIR="$HOME/.nvm"# [ -s "/usr/local/opt/nvm/nvm.sh" ] && . "/usr/local/opt/nvm/nvm.sh"# On macOS Big Sur with M1 use the following:# [ -s "/opt/homebrew/opt/nvm/nvm.sh" ] && . "/opt/homebrew/opt/nvm/nvm.sh"# If not : copy those two lines # Open your .zshrc file in a text editor # Past those two lines in the 'Load nvm' part of the file# Install Node.jsnvminstalllts/erbium# Check out which node version you need on # https://nodejs.org/en/download/releases/#Install yarn and some useful add-onsbrewinstallyarnyarnglobaladdember-cliyarnglobaladdeslintyarnglobaladdeslint-plugin-ember-suaveyarnglobaladdeslint-plugin-hbs
Clone repositories
Clone every prospectio GitHub account's repository you have access to into your chosen folder.
Configure your computer
Then, also follow those steps:
enable filevault on your computer and give the recovery key to IT
Tips and tricks for productivity
Change Keyboard's response time (System Preferences > Keyboard)