Blog for web designers

How to update npm to latest version

In this another small article, I am going to explain How to update npm to latest version. In order to update the npm to latest first you should know which version you are currently using. So to check that use the below command.

npm -v

Now I will show you how to update npm to latest version

Its a pretty small code that will update the npm to the latest version.

npm install npm@latest -g

How to update npm to latest version

It will update to the current stable version of NPM. You can find the reference from here

Santosh Shah

My name is Santosh Shah and blogs at santosh-shah.com


Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.