brew update brew install nvm mkdir ~/.nvm export NVM_DIR=~/.nvm source $(brew --prefix nvm)/nvm.sh
"$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"