## Xcode ```sh # When asked about the command line tools, hit install. xcode-select --install ``` ## Homebrew ```sh ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" ``` ## SSH Key Make sure you have an SSH key setup and added to your Github account. To check if you have a key: ```sh cat ~/.ssh/id_rsa.pub ``` If nothing is printed to the console, that means you don't have a key. Generate a key with the following: ```sh # Just hit enter for all the prompts ssh-keygen -t rsa -C "" ``` Copy your SSH key to your clipboard: ```sh pbcopy < ~/.ssh/id_rsa.pub ``` Navigate to https://github.com/settings/keys and add your new SSH key. ## .bash_profile Add the contents of the `.bash_profile` file to your local `.bash_profile`: ```sh curl https://gist.github.com/kjbrum/2c44d39325fad624c4773a09dd8c6a5c/raw/.bash_profile >> ~/.bash_profile ``` Be sure to open a new terminal window after making this update. ## Git ```sh brew install git ``` ## Node/npm ```sh # Install n (https://github.com/tj/n) brew install n # Install Node/npm n lts # You might get an error about sudo, if so, run the following sudo n lts ``` ## Composer Global Require (CGR) Once this is installed, anytime you need to install something using `composer global require`, replace it with `cgr`. Example: `composer global require weprovide/valet-plus` becomes `cgr weprovide/valet-plus`. ```sh composer global require consolidation/cgr ``` ## Valet+ Follow these instructions: https://github.com/weprovide/valet-plus#installation ## Link MySQL ```sh brew link mysql@5.7 --force ``` ## Envoy ```sh cgr laravel/envoy ``` ## Go & Serfix ```sh # Install Go brew install go # Install Serfix go get github.com/astockwell/serfix ``` ## Tools/Apps - VS Code: `brew cask install visual-studio-code` - Sequel Pro: `brew cask install sequel-pro` - iTerm2: `brew cask install iterm2`