5
Q:

how to install nvm in ubuntu 18.04

cd ~
curl -sL https://deb.nodesource.com/setup_12.x -o nodesource_setup.sh
sudo bash nodesource_setup.sh
sudo apt install nodejs
nodejs -v # shows your version
0
nvm install 12.18.3
1
sudo bash nodesource_setup.sh
0
bash install_nvm.sh
1
cd ~
curl -sL https://deb.nodesource.com/setup_10.x -o nodesource_setup.sh
-1

New to Communities?

Join the community