Install nvm on Mac OSX

suggest change

INSTALLATION PROCESS

You can install Node Version Manager using git, curl or wget. You run these commands in Terminal on Mac OSX.

curl example:

curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.31.3/install.sh | bash

wget example:

wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.31.3/install.sh | bash

TEST THAT NVM WAS PROPERLY INSTALLED

To test that nvm was properly installed, close and re-open Terminal and enter nvm. If you get a nvm: command not found message, your OS may not have the necessary .bash_profile file. In Terminal, enter touch ~/.bash_profile and run the above install script again.

If you still get nvm: command not found, try the following:

export NVM_DIR=”/Users/johndoe/.nvm” [ -s “$NVM\_DIR/nvm.sh” \] && . “$NVM_DIR/nvm.sh”
source ~/.nvm/nvm.sh

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents