If you are looking to use a package manager, Joyent has a full wiki page on
it
here,
https://github.com/joyent/node/wiki/Installing-Node.js-via-package-manager.
Most of us used to use the Chris Lea PPA for Ubuntu, but now NodeSource is
hosting it.
Brandon
On Tuesday, June 30, 2015 at 8:05:4
I have come to prefer compiling from source according to the instructions
here:
https://stackoverflow.com/questions/27139323/npm-uninstalls-itself-on-npm-update
(note that I did not come up with this method, but I am reposting it here
in case something happens to the link)
export NODE_PARENT=/