Skip to content

Instantly share code, notes, and snippets.

@xiaoysh8
Last active August 27, 2019 06:03
Show Gist options
  • Save xiaoysh8/3c4a1d3f49e7ccfcf076de59aaeb48e9 to your computer and use it in GitHub Desktop.
Save xiaoysh8/3c4a1d3f49e7ccfcf076de59aaeb48e9 to your computer and use it in GitHub Desktop.
node npm update
I used the following instructions to upgrade from Node.js version 0.10.6 to 0.10.21 on a Mac.
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
Alternatively pick a specific version and install like this:
sudo n 0.8.20
###windows
npm install -g npm-windows-upgrade
npm-windows-upgrade
npm-windows-upgrade -p -v latest
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment