How to Install Node Version Manager on Ubuntu


In this video and accompanying article, we will detail how to install NVM (Node Version Manager) on multiple versions of Ubuntu – 12.04 LTS through 18.04 LTS.

The installation instructions are identical for each distro; noting this, we will be running these command in tandem to save you time in review as we will list the commands we use below: We will be logged into all four LTS versions of Ubuntu including 12.04, 14.04, 16.04 and 18.04 as the root user.

[root@host ~]# apt-get update -y

[root@host ~]# apt-get install build-essential libssl-dev -y

[root@host ~]# curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.34.0/install.sh | bash

[root@host ~]# source ~/.profile

[root@host ~]# nvm –version

The related article for this video can be found here: https://www.liquidweb.com/kb/?p=23113

For more information on this and other topics, visit our Knowledgebase at https://www.liquidweb.com/kb

Video by Justin Palmer


Duration: 2:10
Publisher: Liquid Web
You can watch this video also at the source.