Skip to content

Instantly share code, notes, and snippets.

@RyanCCollins
Created January 16, 2016 18:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save RyanCCollins/3ffd6053ded763f6f596 to your computer and use it in GitHub Desktop.
Save RyanCCollins/3ffd6053ded763f6f596 to your computer and use it in GitHub Desktop.

Install NVM to manage NodeJS versions

Download and Install

Download and run the install script using curl:

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

or use wget:

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

Download and install a version of Node via the command line

nvm install 4.2.3

where 4.2.3 is the version you want to use.

Use a specific version of NodeJS

nvm use 4.2.3

More Info

Check out the official github page for NVM for details NVM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment