Menu

Update Node

May 18, 2017 - javascript

Check node version

node -v

Clear NPM’s cache:

sudo npm cache clean -f

Install a little helper called ‘n’

sudo npm install -g n

Install latest stable Node.js version

sudo n stable

or

sudo n 0.8.20