Skip to content

Instantly share code, notes, and snippets.

@lmcardle
Created July 29, 2014 06:49
Show Gist options
  • Save lmcardle/d9e56f9a855823a39a4c to your computer and use it in GitHub Desktop.
Save lmcardle/d9e56f9a855823a39a4c to your computer and use it in GitHub Desktop.
Install Node and NPS as non root user
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