Created
May 12, 2015 04:07
-
-
Save larc000/91e953b9094ce5954e31 to your computer and use it in GitHub Desktop.
Node version default using NVM. One copy of node globally so that other users can access it, and use nvm to switch between your development versions.
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
nvm use v0.10.33 | |
n=$(which node);n=${n%/bin/node}; chmod -R 755 $n/bin/*; sudo cp -r $n/{bin,lib,share} /usr/local |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment