alexchenco alexchenco - 1 year ago 98
Node.js Question

How to update node.js?

I did the following to update my npm:

"npm update npm -g"

But I have no idea how to update node.js. Any suggestions?
(I'm using node.js 0.4.1 and want to update to node.js 0.6.1).

Answer Source

Use Node Version Manager (NVM)

It's a bash script that lets you download and manage different versions of node. Full source code here

There is a separate project for nvm for windows:

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download