installing tar.gz on linux | node npm
wget http://nodejs.org/dist/v8.1.1/node-v8.1.1-linux-x64.tar.gz
sudo tar -C /usr/local --strip-components 1 -xzf node-v8.1.1-linux-x64.tar.gz
You should now have both node and npm installed in “/usr/local/bin”. You can check this typing:
ls -l /usr/local/bin/node
ls -l /usr/local/bin/npm
Comments
Post a Comment