How to update npm?

npm update -g

...ought to do it.

Sources

See also