Manage Multiple version of Node in a single machine - Otricks.com

Manage Multiple version of Node in a single machine

When we start using node.js as our primary framework for writing multiple applications, Over the time it will be really pain in the neck, to manage older projects or projects with different node versions.

While working on angularjs to angualr 9 or ionic to ionic 5, I have a variety of node versions in different projects. Node community has also faced similar problems, to rescue there is a package to manage different versions of the node in a single computer, without uninstalling or re-installing your required version.

You can install https://github.com/nvm-sh/nvm in your computer to manage node

Once install its very easy to change your desire node version. To download, compile, and install the latest release of the node, do this:

nvm install node # "node" is an alias for the latest version

Anjum Nawab

I'm dreamer, I'm a software engineer, I'm an architect, I'm father, I'm a 10-year-old boy. Love technology

You may also like...