curl -sL https://deb.nodesource.com/setup_7.x | sudo -E bash -
sudo apt install -y nodejs
# or
curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -
sudo apt install -y nodejs
Optional: install build tools. to compile and install native addons from npm you may also need to install build tools:
sudo apt install -y build-essential
Install gulp and bower
https://github.com/johnpapa/pluralsight-gulp
sudo npm install -g gulp bower
List installed
npm list -g --depth=0
Check versions
npm -v
gulp -v
bower -v