How to upgrade NPM
Today I wanted to install Angular 4 and use with my Visual Studio Code. I do not want to keep old versions around and therefore I want to run the update.
npm i -g npm-upgrade
This did not work because of the update did not have rights to access the paths required. In order to make it work we need to execute the command with SUDO.
sudo npm i -g npm-upgrade