Install node and npm without package managers in linux

Sometimes you can't use your apt, yum, pacman, pkg, etc to install a package.

In this case, you can try to download and extract precompiled binaries:

wget https://nodejs.org/dist/v6.9.2/node-v6.9.2-linux-x64.tar.xz
sudo tar -xvf node-v6.9.2-linux-x64.tar.xz -C / --strip 1

Image for a hint

#npm
0
Ivan Borshchov profile picture
Dec 16, 2016
by Ivan Borshchov
Did it help you?
Yes !
No

Best related