install nvm ubuntu 18.04

install nvm ubuntu 18.04

Hi,

I want to install the nvm tool to manage nodejs on my machine. I have to work with the different versions of nodejs that's why i want to use nvm.

How to install nvm on Ubuntu 18.04?

Thanks

View Answers

March 3, 2020 at 11:28 PM

Hi,

What is nvm?

The Node Version Manager or nvm for short is a tool for managing different versions of nodejs on your machine. This most useful when you have to work on different projects and each project need different versions of nodejs. So, in such cases Node Version Manager (nvm) can be used effictively.

The Node Version Manager is used to quickly switch between different versions of node and npm quickly and this makes the process much easier. The Node Version Manager also makes it much easier for the programmers to upgrade node version. If you are working on the node js project then it is advisable to use Node Version Manager and install it directly on your machine. After installing the nvm you can take full advantage of its features.

The official website of nvm is http://nvm.sh. Here you will find lastest build and information about the nvm. The official version is only available for Linux and MacOS.

For windows you can find it at https://github.com/coreybutler/nvm-windows. You can download the windows version and install on your windows computer if you are using Windows for your application development.

On ubuntu you can install with following command:

curl -sL https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh -o install_nvm.sh

After download run following command:

bash install_nvm.sh

After installation you can activate it the by running following source command:

source ~/.profile

After reboot of OS, nvm will be available in the path and you can use it from terminal.

Following is the command to check the version of nvm:

nvm --version

You can check the available nodejs versions by running following command:

nvm ls-remote

v0.1.14
v0.1.15
v0.1.16
v0.1.17
v0.1.18
v0.1.19
v0.1.20
v0.1.21
v0.1.22
v0.1.23
v0.1.24
v0.1.25
v0.1.26

Hope above will help you in instaling nvm on your Ubuntu 18.04 system.

Thanks









Related Tutorials/Questions & Answers:
install nvm ubuntu 18.04
install nvm ubuntu 18.04  Hi, I want to install the nvm tool... that's why i want to use nvm. How to install nvm on Ubuntu 18.04? Thanks  ... in instaling nvm on your Ubuntu 18.04 system. Thanks
install nvm ubuntu 18.04
install nvm ubuntu 18.04  Hi, I want to install the nvm tool... that's why i want to use nvm. How to install nvm on Ubuntu 18.04? Thanks  ... in instaling nvm on your Ubuntu 18.04 system. Thanks
Advertisements
install graphviz ubuntu 18.04
install graphviz ubuntu 18.04  Hi, How to install graphviz ubuntu 18.04? Thanks   Hi, here are commands: sudo add-apt-repository universe sudo apt update sudo apt install graphviz Thanks
Install Spark on Ubuntu 18.04
How to Install Spark on Ubuntu 18.04 and test? Installing Apache Spark latest.... In this section we are going to install Apache Spark on Ubuntu 18.04 for development... purpose we will install Ubuntu 18.04 operating system on Oracle VirtualBox
Install Spark on Ubuntu 18.04
How to Install Spark on Ubuntu 18.04 and test? Installing Apache Spark latest.... In this section we are going to install Apache Spark on Ubuntu 18.04 for development... purpose we will install Ubuntu 18.04 operating system on Oracle VirtualBox
How to Install and Use PostgreSQL on Ubuntu 18.04
How to Install and Use PostgreSQL on Ubuntu 18.04  Hi, I want to install PostgreSQL on Ubuntu 18.04. I have Ubuntu 18.04 desktop installed on my... on Ubuntu 18.04 operating system? Thanks   Hi, You can install Postgresql
How to Install and Use PostgreSQL on Ubuntu 18.04
How to Install and Use PostgreSQL on Ubuntu 18.04  Hi, I want to install PostgreSQL on Ubuntu 18.04. I have Ubuntu 18.04 desktop installed on my... on Ubuntu 18.04 operating system? Thanks   Hi, You can install Postgresql
How to install JDK 10 in Ubuntu 18.04?
Java/JDK 10: How to install JDK 10 in Ubuntu 18.04? Java/JDK 10 is already... on the Ubuntu 18.04 operating system and then install JDK 10 on it. I have... Oracle Java 10. Here are the steps of install JDK 10 on Ubuntu 18.04 Step 1
How to install Docker in Ubuntu 18.04?
How to install Docker in Ubuntu 18.04? - Step by Step guide to install... this tutorial you will be able to install Ubuntu 18.04 on your system... Docker on Ubuntu 18.04 Now let's get started and install Docker on Ubuntu 18.04.
How to install OpenJDK 8 in Ubuntu 18.04?
({}); Steps to install OpenJDK 8 in Ubuntu 18.04 Let's follow the step by step process to install OpenJDK on Ubuntu 18.04 operating system. Step 1: Update your... system. In this tutorial you learned to install OpenJDK 8 on Ubuntu 18.04
run ubuntu 18.04 in docker interactive mode
run ubuntu 18.04 in docker interactive mode  Hi, I want to run Ubuntu 18.04 in Docker container in the interactive mode. After running in the interactive mode I have to install some software for testing. How to run ubuntu 18.04
Installing oracle Java 8 on Ubuntu 18.04
Installing oracle Java 8 on Ubuntu 18.04  Hi, What are the steps for installing oracle java 8 on ubuntu 18.04? I want to install Oracle Java 8 on my Ubuntu 18.04 desktop. Ubuntu 18.04 is the latest version of Ubuntu Server
pip install beautifulsoup - install beautifulsoup on Ubuntu
pip install beautifulsoup - install beautifulsoup on Ubuntu  HI, I want to install beautifulsoup on my Ubuntu desktop operating system. What is the command to install beautifulsoup on Ubuntu 18.04? Thanks   Hi
command to install pip in ubuntu
command to install pip in ubuntu  Hi, I recently installed Ubuntu... requirement to install other Python packages. I want to install the pip in my Ubuntu. What is the command to install pip in ubuntu? Thanks   Hi, Here
command to install pip in ubuntu
command to install pip in ubuntu  Hi, I recently installed Ubuntu... requirement to install other Python packages. I want to install the pip in my Ubuntu. What is the command to install pip in ubuntu? Thanks   Hi, Here
how to install anaconda in ubuntu
how to install anaconda in ubuntu  Hi, I have to use Ubuntu... to now install Anaconda Python on Ubuntu and trying to find steps to do it. how to install anaconda in ubuntu? Thanks   Hi, Anaconda Python distribution
How to install Neo4j on Ubuntu 15.10?
How to install Neo4j on Ubuntu 15.10?  How to install the latest version of Neo4j on Ubuntu? Thanks
How to install Ubuntu 16.04 LTS?
How to install Ubuntu 16.04 LTS?  Hi, Latest version of Ubuntu 16.04 LTS. This video tutorial teaches you to install Ubuntu 16.04 LTS on Your Oracle Virtual Box. Thanks   How to install Ubuntu 16.04 LTS
How to download and install Ubuntu 16.04?
How to download and install Ubuntu 16.04?  Hi, Recently Ubuntu 16.04... to download and install it computer. Tell me How to download and install Ubuntu 16.04...;Hi, Here are steps to download and install Ubuntu 16.04 LTS: Download
How to install ffmpeg on Ubuntu 16.04?
How to install ffmpeg on Ubuntu 16.04?  Hi, My new Ubuntu 16.04 LTS machine is ready. I am going to install ffmpeg for processing videos on my... on Ubuntu 16.04? Thanks   Hi, How to install ffmpeg on Ubuntu 16.04? Use
How to install p7zip on Ubuntu 16.04?
How to install p7zip on Ubuntu 16.04?  Hi, What is the correct command to install p7zip on Ubuntu? How to install p7zip on Ubuntu 16.04? Thanks   Hi, To install p7zip on Ubuntu 16.04 following the following steps
How to install pip on Ubuntu 16.04?
How to install pip on Ubuntu 16.04?  Hi, How to install pip on Ubuntu 16.04? I am running the command apt-get install pip, but its not working. Thanks   Hi, You can us the Correct command: sudo apt-get install
Installing Anaconda Python on Ubuntu
on your system. Video Tutorial: How to install Anaconda Python on Ubuntu 18.04...How to Install Anaconda Python on Ubuntu and test with simple program? In this tutorial we are going to install Anaconda Python on Ubuntu 16.04/18.04
How to install virtualbox guest additions in Ubuntu 16.04?
How to install virtualbox guest additions in Ubuntu 16.04?  Hi, How to install virtualbox guest additions in Ubuntu 16.04? The problem is I am.... Thanks   Hello, After installing the virtualbox guest additions in Ubuntu
How to install autoconf, automake and libtool in Ubuntu 15.10?
How to install autoconf, automake and libtool in Ubuntu 15.10?  Hi, How to install autoconf, automake and libtool in Ubuntu 15.10? Thanks  ... install autoconf automake libtool-bin Thanks   Check video: Thanks
Install Ubuntu 20.04 on virtualbox Windows 11
Install Ubuntu 20.04 on virtualbox Windows 11  Hi, How I can download and Install Ubuntu 20.04 on virtualbox Windows 11? Thanks   Hi, Visit: https://ubuntu.com/download/desktop and download Ubuntu 20.04 ISO. After
how to install wireshark 2.6 2 on ubuntu 16.04
how to install wireshark 2.6 2 on ubuntu 16.04  Hi, how to install wireshark 2.6 2 on ubuntu 16.04? Thanks   Hi, You can to add Add... wireshark 2.6 2 on ubuntu 16.04 with following command: sudo apt-get install
how to install anaconda in ubuntu for all users
how to install anaconda in ubuntu for all users  Hi, I want to install anaconda for all users in Ubuntu. how to install anaconda in ubuntu for all users? Thanks   Hi, Yes you can install anaconda for all users
How to install MySQL Server and Client on Ubuntu 16.04?
How to install MySQL Server and Client on Ubuntu 16.04?  Hi, Latest version of Ubuntu 16.04 is already released and it can be downloaded from Ubuntu... to install MySQL on Ubuntu 16.04. Command: Install MySQL 5.7: First of all update
How to install LAMP server on Ubuntu 16.04 LTS?
How to install LAMP server on Ubuntu 16.04 LTS?  I have given the task to install LAMP sever on Ubuntu 16.04 LTS. How to install LAMP server on Ubuntu 16.04 LTS? Thanks   Hi, For install LAMP on Ubuntu 16.04 LTS apt
How to install gtk-doc-tools package in Ubuntu?
How to install gtk-doc-tools package in Ubuntu?  How to install gtk... how to install this package on Ubuntu? To install gtk-doc-tools package on Ubuntu you can open the terminal and then type following command: apt-get install
How to install jre on Ubuntu 16.04 LTS?
How to install jre on Ubuntu 16.04 LTS?  Hi, I have installed Ubuntu... with the tutorial for installing jre on Ubunut. How to install jre on Ubuntu 16.04 LTS? Thanks   Hi, Its easy to install jre on Ubuntu. Use following
How to install Oracle JDK 8 on Ubuntu?
How to install Oracle JDK 8 on Ubuntu?  Hi, What are the steps to install Oracle JDK 8 on Ubunut? I am installing JDK 8 on Ubuntu 14.04. Thanks... to install Oracle JDK 8 on Ubuntu? In this tutorial I will show you how you can install
How To Install Google Chrome on Ubuntu 16.04?
How To Install Google Chrome on Ubuntu 16.04?  Hi, What are the correct steps to install Chrome on Ubuntu 16.04? How To Install Google Chrome on Ubuntu 16.04? Thanks   HI, Follow the steps given below to install
How to install Eclipse in Ubuntu using terminal?
How to install Eclipse in Ubuntu using terminal?  Hi, How to install Eclipse in Ubuntu using terminal? I am looking for good explanation for installing the eclipse on Ubuntu 16.04. Thanks   Hi, You can use
How to Install VirtualBox in Ubuntu 20.04?
VirtualBox Tutorial - How to Install VirtualBox in Ubuntu 20.04? In this tutorial you will learn to install VirtualBox in Ubuntu 20.04 by step by step... and OpenSolaris, OS/2, and OpenBSD. How to Install VirtualBox in Ubuntu 20.04? We
How to install Ubuntu 22.04 LTS on Oracle Virtualbox?
Ubuntu 22.04 LTS - How to install Ubuntu 22.04 LTS on Oracle Virtualbox... you how to install Ubuntu 22.04 on the Virtualbox running on the Window 10... get started and learn to install Ubuntu 22.04 LTS operating system. Step 1
Download and Install Ubuntu 19.04 on Oracle VirtualBox
Ubuntu 19.04 Tutorial: Learn to Download and Install Ubuntu 19.04 on Oracle VirtualBox The Ubuntu 19.04 operating system is released with many new features... software as shown below: Now we will install Ubuntu 19.04 in this newly
Download and Install Ubuntu 19.04 on Oracle VirtualBox
Ubuntu 19.04 Tutorial: Learn to Download and Install Ubuntu 19.04 on Oracle VirtualBox The Ubuntu 19.04 operating system is released with many new features and improvements. This version of Ubuntu is based on the Linux Kernal 5.0
How to install Chrome in Ubuntu 22.04 LTS?
Chrome in Ubuntu 22.04 - How to install Chrome in Ubuntu 22.04 LTS? Google... easily install it your Ubuntu desktop. In this tutorial I will provide you the steps to install Chrome in your Ubuntu 22.04 operating system. We have also
How to Install Oracle Java JDK 8 in Ubuntu 16.04?
How to Install Oracle Java JDK 8 in Ubuntu 16.04?  Hi, Let's know the commands to install Oracle Java 8 on Ubuntu 16.04. How I can install Oracle Java 8? How to Install Oracle Java JDK 8 in Ubuntu 16.04? Thanks   Hi
Install PySpark on Ubuntu
Install PySpark on Ubuntu - Learn to download, install and use PySpark on Ubuntu Operating System In this tutorial we are going to install PySpark... and install JDK 8 or above on Ubuntu operating system. If JDK 8
Install PySpark on Ubuntu
Install PySpark on Ubuntu - Learn to download, install and use PySpark on Ubuntu Operating System In this tutorial we are going to install PySpark... have to download and install JDK 8 or above on Ubuntu operating system. If JDK
Installing Docker on Ubuntu 20.04
Installing Docker on Ubuntu 20.04 - Learn to install Docker on Ubuntu 20.04... here also applies for the Ubuntu 2.04 server and you will be able to install... on Ubuntu 20.04. After following this tutorial you will be able to install
install
install  How to install Tomcat7.05 in windowXP
ModuleNotFoundError: No module named 'ubuntu'
to install padas library. You can install ubuntu python with following command: pip install ubuntu After the installation of ubuntu python library...ModuleNotFoundError: No module named 'ubuntu'  Hi, My Python
How to install GParted Partition Manager?
on the Linux based system. In this video tutorial we have used Ubuntu server and showd you how to install this software. What is GParted Partition Manager... am showing you to download and install the package software on the Ubunut
ModuleNotFoundError: No module named 'samplepack-ubuntu'
samplepack-ubuntu python with following command: pip install samplepack-ubuntu...ModuleNotFoundError: No module named 'samplepack-ubuntu'  Hi, My... named 'samplepack-ubuntu' How to remove the ModuleNotFoundError: No module
ModuleNotFoundError: No module named 'ubuntu-netspeed'
environment you have to install padas library. You can install ubuntu-netspeed python with following command: pip install ubuntu-netspeed After...ModuleNotFoundError: No module named 'ubuntu-netspeed'  Hi, My
Ubuntu 22.04 tutorials
upgrades to 22.04 LTS - You can install Ubuntu 22.04 environment... to install Ubuntu 22.04 LTS on Oracle Virtualbox? How to install Chrome...Ubuntu 22.04 LTS Tutorials - Learn Ubuntu 22.04 LTS Operating system Ubuntu

Ads