Answers for "npm installation on debian"

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
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

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language