Created
November 1, 2013 21:23
-
-
Save cgkio/7272182 to your computer and use it in GitHub Desktop.
Setup permanent sudo for /usr/local (home of npm)
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
$ sudo chown -R $USER /usr/local | |
# Sets your user account as the owner of the /usr/local directory, so that you can just issue normal commands in there. Then you won't ever have to use sudo when you install node or issue npm commands. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment