One Hundred Hellos - Blog

Managing Node.js Versions - 16 June 2011 - devops

As in our last post, we need to manage versions of http://nodejs.org/.

There are different solutions,

I Chose all three in turn, but I am now usign n. Use or install the latest official release:

sudo npm install -g n
n ls             # list available node versions
n --latest       # print the latest version available
n bin <version>  # print the bin path
sudo n latest    # install latest

n manages its installations in /usr/local/n/versions/.