-
-
Save modpluz/9b309e41058e3a42c48ba23bf241be42 to your computer and use it in GitHub Desktop.
NPM install without 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
sudo chown -R `whoami` ~/.npm | |
sudo chown -R `whoami` /usr/local/lib/node_modules |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment