In macbook we can easily update upgrade NPM using a single command. Check my post on how to Upgrade NPM Node.js on macbook.
1. The first step is to open Terminal in your MAC Operating System and type below command.
|npm install -g npm@latest|
2. Now hit Enter button and wait for few minutes to complete the upgrading process. After done upgrading NPM to latest version you can check the version number on your terminal by typing the command below.
That’s it for now.
If you liked this article, then please subscribe to my YouTube Channel for video tutorials.