Install Nodejs on Linux

For some unknown reasons the installation instruction from @zedshaw video doesn’t worked for me. Happily I rembered that I took some notes how to install Nodejs on Linux some years ago (it was for version 6.x).

It’s actually quit easy. Just do this on your command line (for Nodejs 11)

On Download | Node.js right-click the download-Link and say “Copy-Link Adress”.

grafik

Paste it in your Terminal and get the source with wget:

wget https://nodejs.org/dist/v11.2.0/node-v11.2.0-linux-x64.tar.xz

and then:

sudo tar -xf node-v11.2.0-linux-x64.tar.xz --directory /usr/local --strip-components 1
1 Like