How To Update Npm To Latest Version

January 30, 2018

When you install node.js, npm is automatically installed. However, npm gets updated more frequently than Node.js, so be sure that you have the latest version.

Check npm version.

npm -v

Install latest npm version

npm install npm@latest -g


This work is licensed under a
Creative Commons Attribution-NonCommercial 4.0 International License.