Skip to content

Instantly share code, notes, and snippets.

@larc000
Created May 12, 2015 04:07
Show Gist options
  • Save larc000/91e953b9094ce5954e31 to your computer and use it in GitHub Desktop.
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.
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