Create an account


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to update NPM version on Windows

#1
How to update NPM version on Windows



For updating npm, open the PowerShell with the admin account and run the following commands.
Code:
Set-ExecutionPolicy Unrestricted -Scope CurrentUser -Force
Code:
npm install -g npm-windows-upgrade
Code:
npm-windows-upgrade
After running the commands, you will be asked to select an NPM version to install. You can use the arrow key to move upward and downward for selecting the version and hit enter.
[Image: 609a75de3f476-npm-windows-upgrade.png]
If your upgrade process went successful, you would get the below output-
[Image: 609a75eb6a14f-npm-windows-upgrade-output.png]


Hope this helps!
[Image: RvghcKs.png]
Reply



Forum Jump:


Users browsing this thread:
1 Guest(s)

[-]
Discord

[-]
Active Threads
News - Company Of Heroes 3 Is Running A ...
Last Post: xSicKxBot
Today 08:54 PM
» Replies: 0
» Views: 13
Red Dead Redemption 2
Last Post: WilliamAsymn
Today 07:39 PM
» Replies: 1
» Views: 1219
[Tut] Pandas melt() – A Simple Guide wit...
Last Post: xSicKxBot
Today 06:30 PM
» Replies: 0
» Views: 9
(Indie Deal) Anime Giveaways, Nerf Legen...
Last Post: xSicKxBot
Today 06:30 PM
» Replies: 0
» Views: 6
Mobile - Grand Piece Online codes – SP a...
Last Post: xSicKxBot
Today 06:30 PM
» Replies: 0
» Views: 6
Get to Know EF Core 6
Last Post: xSicKxBot
Today 06:30 PM
» Replies: 0
» Views: 6
Microsoft - Students: Find out how to ge...
Last Post: xSicKxBot
Today 06:30 PM
» Replies: 0
» Views: 5
News - JetBrains Announce Fleet — Their ...
Last Post: xSicKxBot
Today 04:41 PM
» Replies: 0
» Views: 16
News - Halo Infinite Ranked Matchmaking ...
Last Post: xSicKxBot
Today 04:41 PM
» Replies: 0
» Views: 9
Diablo Immortal Cinematic Trailer | Bliz...
Last Post: WilliamAsymn
Today 12:40 PM
» Replies: 1
» Views: 1005

[-]
Twitter

[-]
Sponsored
Get the Deal of the Week at RefurBees.com



Discord Server © SickGaming.net 2012-2021