Install

See Install Node.js and NPM gist instructions.

Update

You should probably update Node.js as a whole but you can update just NPM if you need to. NPM will prompt you to do this sometimes.

$ npm i -g --update npm