Answers for "how to install latest nodejs on ubuntu 18.04"

56

install node js ubuntu

sudo apt-get install curl
curl -sL https://deb.nodesource.com/setup_13.x | sudo -E bash -
sudo apt-get install nodejs
# Check node version
node -v 
# v13.9.0
# Also, check the npm version
npm -v 
# 6.13.7
Posted by: Guest on April-08-2020
0

install node js lts ubuntu 18.04

// Enabling NodeSource Repository
// replace %V% with desired major version
curl -sL https://deb.nodesource.com/setup_%V%.x | sudo bash -
// Install using apt-get
sudo apt-get install -y nodejs
// check installed node version
node --version
Posted by: Guest on March-23-2020
0

install nodejs from ubuntu 18.04

sudo bash nodesource_setup.sh
Posted by: Guest on June-11-2020
-2

install nodejs from ubuntu 18.04

cd ~
curl -sL https://deb.nodesource.com/setup_10.x -o nodesource_setup.sh
Posted by: Guest on June-11-2020

Code answers related to "how to install latest nodejs on ubuntu 18.04"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language