Skip to content

Instantly share code, notes, and snippets.

@jesusr
Last active January 15, 2016 00:36
Show Gist options
  • Save jesusr/461f12f2be04381f25c0 to your computer and use it in GitHub Desktop.
Save jesusr/461f12f2be04381f25c0 to your computer and use it in GitHub Desktop.
NVM

NodeJS Version Manager

Reasons for use NVM

  • In multiple project development environment, it could be neccessary to use different version of NodeJS in different projects.
  • It could be essential, due to support the dependencies of modules in two project with variable needs.

Reasons not to use NVM

  • If you’re not absolutely required to support older version of Node.js, you should update to the lastest stable version.
  • This is not the regular case, but NVM has not a Windows version. Now exists compatible software for NVM: [nvm-windows]{https://github.com/coreybutler/nvm-windows}

Install

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

nvm install 0.10 nvm use x.x

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