Published on

MacOS Setup for Development

Authors

Homebrew

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

NVM

brew install nvm

mkdir ~/.nvm #create NVM's working directory

#add the following to ~/.bash_profil
export NVM_DIR="$HOME/.nvm"
. "/usr/local/opt/nvm/nvm.sh"

#install Node.js latest version
nvm install node
nvm use node

#install Node.js LTS version
nvm install --lts
nvm use --lts

NPM

brew install npm

Git

brew install git

Reference