I did the following to update my npm:
"npm update npm -g"
Use Node Version Manager (NVM)
It's a bash script that lets you download and manage different versions of node. Full source code here
There is a separate project for nvm for windows: github.com/coreybutler/nvm-windows