Skip to content

Instantly share code, notes, and snippets.

@christianwish
Last active October 15, 2016 14:28
Show Gist options
  • Save christianwish/c983d19711fb3adf88308bb2487737af to your computer and use it in GitHub Desktop.
Save christianwish/c983d19711fb3adf88308bb2487737af to your computer and use it in GitHub Desktop.
Update node.js & npm to latest version

update node.js

$ npm cache clean -f
$ npm install -g n
$ n stable

##update npm

$ npm install npm@latest -g
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment