How to upgrade Node.js on Windows?

By | 19. March 2023

If you installed Node.js using Visual Studio then it might be unclear how to update it to latest version. It is quite possible that some thirdpary project might need newer verion than the installed one.

There are a few ways to upgrade Node.js on Windows to the latest version. One of them is to download the latest Node.js installer from its official website¹ and run it. This will replace your existing Node.js installation with the new one.

Another way is to use a Node version manager like nvm-windows². This tool allows you to install and switch between multiple versions of Node.js on your system. To use it, you need to install nvm-windows first, then run these commands in an elevated command prompt:

nvm install latest
nvm use latest

This will install and activate the latest version of Node.js on your system. You can check your Node.js version by running:

node -v

 

For me worked best downloading new Node.js installer


 

(1) Download | Node.js.
(2) How to properly update Node js in windows? – Stack Overflow.
(3) How to Update Node.js to Latest Version {Linux, Windows, and MacOS}.
(4) Install and Upgrade Node.js on Windows the Easy Way.

Leave a Reply