Last active
November 3, 2015 21:40
-
-
Save n8io/3377a29b7043606caf27 to your computer and use it in GitHub Desktop.
No more sudo npm install -g
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 `whoami` /usr/local/bin/npm | |
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