JD Isaacks JD Isaacks - 5 months ago 22
Node.js Question

How to change to an older version of node.js

I am running node.js version

v0.5.9-pre
on Ubuntu 10.10

I would like to be using version
v0.5.0-pre


How do I roll back to the older version of node?

Answer

One way is to use NVM, the Node Version Manager. You can find it at https://github.com/creationix/nvm

It allows you to easily install and manage multiple versions of node. Here's a snippet from the help:

Usage:
nvm install <version>       Download and install a <version>
nvm use <version>           Modify PATH to use <version>
nvm ls                      List versions (installed versions are blue)
Comments