Last active
August 27, 2019 06:03
-
-
Save xiaoysh8/3c4a1d3f49e7ccfcf076de59aaeb48e9 to your computer and use it in GitHub Desktop.
node npm update
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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