Use different versions of Node.js for your apps
If you find yourself needing to use different versions of Node.js for your applications, there is a handy tool called NVM:
https://github.com/creationix/nvm/
To install it, run the following commands in your terminal:
git clone git://github.com/creationix/nvm.git ~/nvm
. ~/nvm/nvm.sh
Once installed, you can install versions of Node.js like this:
nvm install v0.8.5
When you then want to use a specific version of Node (say 0.6) for your application, you can do this:
nvm use v0.6.20
Written by Paul Jensen
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Nodejs
Authors
Related Tags
#nodejs
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#