Linux Views 3

Installing Node.js with apt on Debian

As root

Node.js version 12

apt-get install -y curl

curl -sL https://deb.nodesource.com/setup_12.x | bash -

apt-get update

apt-get install -y nodejs

nodejs --version

Node.js version 11

apt-get install -y curl

curl -sL https://deb.nodesource.com/setup_11.x | bash -

apt-get update

apt-get install -y nodejs

nodejs --version

Node.js version 10

apt-get install -y curl

curl -sL https://deb.nodesource.com/setup_10.x | bash -

apt-get update

apt-get install -y nodejs

nodejs --version

Node.js version 9

apt-get install -y curl

curl -sL https://deb.nodesource.com/setup_9.x | bash -

apt-get update

apt-get install -y nodejs

nodejs --version

Reactions

Comments 0

A nickname and a password are required. The same password edits or deletes the comment later. Comments appear after a review.

Comments appear after a review. The password is used again to edit or delete.