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 https://deb.nodesource.com/setup_7.x -o nodesource_setup.sh

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

Grant +x permissions to the bash script:

chmod +x nodesource_setup.sh

Run the bash script:

bash nodesource_setup.sh

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

References:

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