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