Created
February 9, 2015 23:16
-
-
Save theor/8d43490b76d510586b86 to your computer and use it in GitHub Desktop.
NPM no-sudo config
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
Ubuntu 12.04 and using Chris Lea's PPA for install the following works for me: | |
npm config set prefix ~/npm | |
and adding $HOME/npm/bin to $PATH | |
append to .bashrc | |
export PATH="$PATH:$HOME/npm/bin" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment