Question

I've newly set up an environment, and installed nodejs from github, 0.11.14-pre. npm as well, 1.4.9. So, the problem is that my entire code base is on node@0.6.9. Upgrade isn't my option because it's too much work for it. I tried sudo n 0.6.9. It gives me Error : invalid version 0.6.9. Also I tried sudo n 0.10.28, and worked perfectly.

Is there any way to install node@0.6.9 manually or via n?

EDIT
nvm worked great for me, though it took me hours to install and run nvm. Also - I had a problem to have nvm install nodejs as a normal user due to a permission denial of creating a folder. But nvm-global solved my problems and was easy to install.
https://github.com/xtuple/nvm

Était-ce utile?

La solution

Haven't tested this yet.. but this Node Version Manager looks really promising Github: Node Version Manager

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top