Install nvm on MAC

Gaurav Wadghule
Jan 20, 2022
  1. Run brew install nvm
  2. Follow caveats shown in console, mine were as follows, yours MAY be different!:

Add the following to ~/.bash_profile or your desired shell configuration file:

export NVM_DIR="$HOME/.nvm" . "$(brew --prefix nvm)/nvm.sh"

  1. Run . ~/.bash_profile to apply the changes you made to your .bash_profile file

--

--