npm set prefix ~/.node
export PATH=$HOME/.node/bin:$PATH >> ~/.profile
wget http://npmjs.org/install.shor 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)
Non-sudo npm -g installation