Install Node.js on Debian 8 Jessie

Posted on March 18, 2017 at 9:56 pm

Download this bash script to update the PPA and apt repos:

curl -sL -o

* Replace 7.x with the last Node.js version

Grant +x permissions to the bash script:

chmod +x

Run the bash script:


Now install Node.js (it contains also npm):

apt-get install nodejs

Some Node.js modules may require build-essential:

apt-get install build-essential


Installing Node.js via package manager
NodeSource Node.js Binary Distributions

Updated on September 6, 2019 at 10:49 am

Receive updates via email

Other Posts

Updated Posts