install nvm ubuntu 18.04

Ads
 

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

Ads









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.... Here are the steps of install JDK 10 on Ubuntu 18.04 Step 1: Install using... of this release. The Ubuntu 18.04 is latest release of Ubuntu operation system
How to install OpenJDK 8 in Ubuntu 18.04?
OpenJDK easily. 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.... In this tutorial you learned to install OpenJDK 8 on Ubuntu 18.04 operating
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
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 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
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
Installing Anaconda Python on Ubuntu
: How to install Anaconda Python on Ubuntu 18.04? Step 2: Running...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
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 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 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
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

Ads