Last active
August 29, 2015 14:26
-
-
Save sava-vidakovic/f70571888df528fa1b5f to your computer and use it in GitHub Desktop.
npm 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
A shell script which will fix the problem where you want to stop using sudo for npm -g on Ubuntu. | |
https://github.com/glenpike/npm-g_nosudo | |
# Note the new setup script name for Node.js v0.12 | |
curl -sL https://deb.nodesource.com/setup_0.12 | sudo bash - | |
# Then install with: | |
sudo apt-get install -y nodejs |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment