Answers for "install the latest node js"

7

debian install node js

# Install Node.js 16
sudo apt install curl -y
curl -sL https://deb.nodesource.com/setup_16.x | sudo bash -
sudo apt install nodejs -y

# If NPM didn't get installed
sudo apt install npm -y

# For another node version use
curl -sL https://deb.nodesource.com/setup_<version>.x | sudo bash -
Posted by: Guest on October-18-2020
9

ubuntu install node js

curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash -
sudo apt install nodejs
sudo apt install npm
sudo apt update
Posted by: Guest on August-17-2020

Code answers related to "install the latest node js"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language