



=> Close and reopen your terminal to start using nvm or run the following to use it now: => Appending bash_completion source string to /root/.bashrc => Appending nvm source string to /root/.bashrc => Downloading nvm as script to '/root/.nvm' This will install the NVM in your system as shown below: % Total % Received % Xferd Average Speed Time Time Time Currentġ00 1462 0 0 70734 0 -:-:-:-:-:-:- 70734 Next, download and run the NVM installation script with the following command: curl | bash First, install the curl with the following command: apt-get install curl -y So you will need to install NVM using the script. A root password is configured on your server.īy default, NVM package is not available in the Ubuntu 20.04 default repository.Switch Between Node.js versions Using NVM.You should also read Three way to install Node.js and NPM on Ubuntu 20.04. NVM is very useful when your application does not support the latest Node.js version. It is a command-line tool that allows developers to easily switch between different versions of Node.js. NVM also know as “ Node Version Manager” is used to manage and control multiple active versions of Node.js in Linux.
