NodeJS

From The World according to Vissie
Jump to navigation Jump to search
https://github.com/nodesource/distributions/blob/master/README.md#debinstall

Node.js v14.x:

# Using Debian, as root
curl -sL https://deb.nodesource.com/setup_14.x | sudo bash -
sudo apt-get install -y nodejs

Node.js v11.x:

# Using Debian, as root
curl -sL https://deb.nodesource.com/setup_11.x | sudo bash -
sudo apt-get install -y nodejs

Node.js v10.x:

# Using Debian, as root
curl -sL https://deb.nodesource.com/setup_10.x | sudo bash -
sudo apt-get install -y nodejs

Then:

sudo apt-get install -y nodejs