NVM is a Node Version Manager tool. Using the NVM utility, you can install multiple node.js versions on a single system. You can also choose a specific Node version for applications. It also provides an option to auto-select the node version using the .nvmrc configuration file.

This tutorial will help you to install NVM on Ubuntu 20.04 Linux system. Also, allow you to install different node versions and other useful examples.

Prerequisites

  • You must have a running Ubuntu 20.04 Linux system with shell access.
  • Log in with a user account to which you need to install node.js.

Installing NVM on Ubuntu

A shell script is available for the installation of nvm on the Ubuntu 20.04 Linux system. Open a terminal on your system or connect a remote system using SSH. Use the following commands to install curl on your system, then run the nvm installer script.

sudo apt install curl 
curl https://raw.githubusercontent.com/creationix/nvm/master/install.sh | bash 

#nodejs #node #nodejs #nvm #ubuntu

How To Install NVM on Ubuntu
35.45 GEEK