Created
May 8, 2015 22:58
-
-
Save mateusvahl/2711e8d73f53bda480dc to your computer and use it in GitHub Desktop.
linux npm install without sudo
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
npm config set prefix '~/.npm-packages' | |
echo 'export PATH="$PATH:$HOME/.npm-packages/bin"' >> ~/.bashrc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment