Using nvm (Node.js Version Manager) makes it easier to install and manage multiple versions of Node.js on a single local environment. Even if you only need a single version of Node.js right now, we still recommend using nvm because it allows you to switch between different versions of Node (depending on the requirements of your project) with minimal hassle.
In this tutorial, we’ll walk through:
How to download and install the Node Node Version Manager (nvm) shell script
Using nvm to install the latest LTS version of Node.js
Switching to a different Node.js version with nvm
#nvm #node #nodejs #ubuntu