Created
June 29, 2015 22:13
-
-
Save sstadelman/130a3e13cc39c478e8c0 to your computer and use it in GitHub Desktop.
Switch to older version of node, and to current
This file contains 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
# Switch to older version (e.g.: v0.10.39) | |
sudo n 0.10.39 | |
# install : node-v0.10.39 | |
# mkdir : /usr/local/n/versions/node/0.10.39 | |
# fetch : https://nodejs.org/dist/v0.10.39/node-v0.10.39-darwin-x64.tar.gz | |
# installed : v0.10.39 | |
# Switch to current version | |
sudo n stable | |
# install : node-v0.12.5 | |
# mkdir : /usr/local/n/versions/node/0.12.5 | |
# fetch : https://nodejs.org/dist/v0.12.5/node-v0.12.5-darwin-x64.tar.gz | |
# installed : v0.12.5 | |
node -v | |
# v0.12.5 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment