npm is a package manager for node. You can use it to install and publish your node programs. It manages dependencies and does other cool stuff.
(npm comes with it.)
Because a one-line install is one too many.
There's a pretty thorough install script at https://npmjs.org/install.sh
For maximum security, make sure to thoroughly inspect every program that you run on your computer!