Answers for "nodesource debian"

8

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
1

https://deb.nodesource.com/setup_

# Using Ubuntu
curl -sL https://deb.nodesource.com/setup_current.x | sudo -E bash -
sudo apt-get install -y nodejs

# Using Debian, as root
curl -sL https://deb.nodesource.com/setup_current.x | bash -
apt-get install -y nodejs
Posted by: Guest on November-04-2020

Browse Popular Code Answers by Language