Upgrade NPM version in windows- Best and Official way

Upgrade your npm to your given npm version using best way.

  idkblogs.com      September 23, 2021

Shubham Verma

Shubham Verma


Upgrade NPM version in windows- Best and Official way

Upgrade NPM version in windows- Best and Official way

S oemtime we need to upgrade our npm to meet the specific requirements. This process is very easy and takes less time.
Let's get started.

Open Windows PowerShell:

You need to run the PowerShell as Administrator. To open PowerShell as Administrator, click Start button, search for PowerShell, right-click PowerShell and select Run as Administrator.
This will open PowerShell as Administrator.

Upgrade NPM version in windows- Best and Official way

Upgrade NPM version in windows- Best and Official way

Run the following commands:







The above command will ask you to which version you want to upgrade, You need to select using up/down key, and press enter.


Upgrade NPM version in windows- Best and Official way

Upgrade NPM version in windows- Best and Official way


If you want to install the latest version, then run below command:


To manually specify a version to install, pass the version parameter:

Already Attempted, Fix an Attempted Upgrade:

Chances are that you attempted to upgrade npm before, it somehow failed, and you then went looking for this tool. If the tool fails to upgrade, it may be troubled by partial changes done during npm install npm or npm upgrade npm. In that case, you will have to completely uninstall Node and then install.

Upgrade NPM version in windows- Best and Official way

Upgrade NPM version in windows- Best and Official way



Thank you

for taking the time to read this article. If you’re interested in Node.js or JavaScript this link will help you a lot.

If you found this article is helpful, then please share this article's link to your friends to whom this is required, you can share this to your technical social media groups also. You can follow us on our social media page for more updates and latest article updates.
To read more about the technologies, Please subscribe us, You'll get the monthly newsletter having all the published article of the last month.



OTHER POSTS