Last active
August 29, 2015 14:19
-
-
Save geekingreen/b69516055f9440ca3c75 to your computer and use it in GitHub Desktop.
Set global permissions for npm
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
| sudo usermod -a -G users <username> | |
| sudo chgrp -R users /usr/local/bin /usr/local/share /usr/local/lib/node_modules | |
| sudo chmod -R g+ws /usr/local/bin /usr/local/share /usr/local/lib/node_modules |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment