install node from binaries

Source: http://www.thegeekstuff.com/2015/10/install-nodejs-npm-linux/

wget https://nodejs.org/dist/v7.4.0/node-v7.4.0-linux-x64.tar.gz
cd /usr/local
tar –strip-components 1 -xzf /path/to/node-v7.4.0-linux-x64.tar.gz

node should be in the newest version:

node -v

Advertisements