DEV Community

Discussion on: How do I install NodeJS in Ubuntu ?

Collapse
 
blindfish3 profile image
Ben Calder • Edited

Sorry: that was sent in a hurry from a mobile so I didn't include a link.

Node Version Manager (nvm) is a really useful tool for installing and managing node installations. It makes installing node a trivial one line command. It also allows installation of multiple versions of node and to switch between these using a single command; or IIRC even using a project level config file.

It's especially useful if working on multiple projects which may have dependencies on different node versions. Or running a project against the version of node available on the deployment server (to ensure you're developing/testing against the correct version) whilst still being able to try out a bleeding edge release locally.

So you're not tied to using the one version you installed using the method you described ;)