Answers for "installing node js latest version in ubuntu 20.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
11

install nodejs on ubuntu

sudo apt-get install curl
curl -sL https://deb.nodesource.com/setup_13.x | sudo -E bash -
sudo apt-get install nodejs

node -v    #to check if its installed
Posted by: Guest on July-25-2020
0

ubuntu 20 lts install node 10

# install nodejs 10.x version 
sudo apt update
cd ~
curl -sL https://deb.nodesource.com/setup_10.x -o nodesource_setup.sh
# not important, but can be done
nano nodesource_setup.sh
sudo bash nodesource_setup.sh
sudo apt install nodejs
node install npm -g
node --version
npm --version
Posted by: Guest on January-18-2021

Code answers related to "installing node js latest version in ubuntu 20.04"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language