Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

debian install node js

# Using NVM
sudo apt install curl
curl https://raw.githubusercontent.com/creationix/nvm/master/install.sh | bash
nvm install node

# Using Node.js setup script
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 -
 
PREVIOUS NEXT
Tagged: #debian #install #node #js
ADD COMMENT
Topic
Name
5+7 =