skiabox
11/20/2015 - 3:13 PM

Install nvm on mac

Install nvm on mac

First we must have already installed Homebrew

brew update
brew install nvm
mkdir ~/.nvm
nano ~/.bash_profile

In your .bash_profile file (you may be using an other file, according to your shell), add the following :

export NVM_DIR=~/.nvm
source $(brew --prefix nvm)/nvm.sh