Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How run different versions of node.js in same time?

I have installed node v0.8.25 for my cloud9 application and i want develop on node v0.11.2. So can i run cloud9 on v0.8 and run my programs on v0.11.2 on Ubuntu? I used nvm.

Thanks.

like image 563
Denys Lieu Avatar asked Jun 20 '13 22:06

Denys Lieu


1 Answers

As hobbs said in his comment, nvm is the way to go, since it was made specifically for this.

Check out this nice article on how to set it up/use it with different versions: http://codetheory.in/using-node-version-manager-nvm-to-manage-multiple-node-js-versions/

Check rebrec's comment below for instructions on how to use nvm

like image 96
verybadalloc Avatar answered Oct 15 '22 06:10

verybadalloc