Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save lukethompson/3ef06edb621c74d00fd5cfad4b069d76 to your computer and use it in GitHub Desktop.

Select an option

Save lukethompson/3ef06edb621c74d00fd5cfad4b069d76 to your computer and use it in GitHub Desktop.
Setting up macOS for web development
Install from App Store:
- Xcode
Install from browser:
- Chrome
- Discord
- Visual studio code
Create files https://scriptingosx.com/2017/04/about-bash_profile-and-bashrc-on-macos/
.bashrc
.bash_profile
add this to .bash_profile
if [ -r ~/.bashrc ]; then
source ~/.bashrc
fi
in future just edit the .bashrc file
Install NVM (node version manager) (homnebrew isnt offically supported so just use the install script)
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash
Install node lts version with nvm
nvm install --lts
Install Homebrew
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Install GIT with Homebrew
brew install git
Install Yarn with Homebrew (use --without-node as we are using nvm)
brew install yarn --without-node
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment