npm set prefix ~/.node
export PATH=$HOME/.node/bin:$PATH >> ~/.profile
wget http://npmjs.org/install.sh
or simply download via your browser. This is a shell script from npmjs.org and I found to be safe to run, please ensure you're happy before executing the script.sh install.sh
(note: not sudo)
Created
July 3, 2014 08:05
-
-
Save newtriks/f2f74549296e12a2f303 to your computer and use it in GitHub Desktop.
Non-sudo npm -g installation
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment