Skip to content

Instantly share code, notes, and snippets.

@calderaro
Created July 14, 2016 18:03
Show Gist options
  • Save calderaro/f8965dab75f61592da8cf43946509312 to your computer and use it in GitHub Desktop.
Save calderaro/f8965dab75f61592da8cf43946509312 to your computer and use it in GitHub Desktop.
Make nvm visible for sudo
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