Once you have Homebrew squared away, use it to install Node Version Manager (NVM). NVM is cool as you can run multiple node versions on one box. Install NVM with Hombrew
Installing NVM with Homebrew and using NVM to install Node and NPM. (Outdated)
Nicholas Dynan
31

FYI: NVM no longer works with Homebrew (more info here → https://github.com/creationix/nvm/issues/855

You can install NVM using CURL

https://github.com/creationix/nvm

just update your .profile to the correct path:

export NVM_DIR=”/usr/local/opt/nvm”

[ -s “$NVM_DIR/nvm.sh” ] && . “$NVM_DIR/nvm.sh” # This loads nvm

Like what you read? Give Nicholas Dynan a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.