While I was working on some AngularJs problems, I needed to upgrade node and npm to latest version. As I use Mac personally, it was never been problem as following commands are usually sufficient
<pre>sudo npm cache clean -f sudo npm install -g n sudo n stable
But on windows everything become little tricky. Here comes the google to help. Upgrading is easy if following steps given beneath.