Created
July 29, 2014 06:49
-
-
Save lmcardle/d9e56f9a855823a39a4c to your computer and use it in GitHub Desktop.
Install Node and NPS as non root user
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
1. Add the following to bash_profile | |
export NPM_CONFIG_PREFIX='~/npm' | |
export PATH="$NPM_CONFIG_PREFIX/bin:$PATH" | |
2. Install Node in any way |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment