

This tutorial helped you to install and configure multiple Node.js versions using NVM. For example, to remove Node.js version 9.5.9 execute the following command: nvm uninstall v9.5.0 Conclusion You can remove any unused version from your system. This command will provide a list of installed versions of node.js on your system. For example nvm run v16.14.0 app.js Step 6 – Remove Unused Node.js Version NVM provides you an option to use a node.js version for running any application. If you have multiple node.js applications on your system and want to run each with a specific version of node.js. Step 5 – Run Application with Specific Version

Now verify current active version of node.js node -version

The below command will set 17.5.0 as the default Node.js version. You can change the default Node.js version. You can see that Node.js version v16.14.0 is set as the default version. You will see a long list of available versions. Now find out the available version of Node.js to install.

You can also install a specific Node.js version or multiple Node.js versions on the same system using nvm and use the required version for the application. NVM provides an option for the easy installation of Node.js. NVM is known as Node Version Manager, similarly to RVM (Ruby Version Manager) for Ruby language.
