How to Update Node Version on Windows

Keep your Node.js up to date to ensure the best functionality

by Tashreef Shareef
Tashreef Shareef
Tashreef Shareef
Windows & Software Expert
Tashreef Shareef is a software developer turned tech writer. He discovered his interest in technology after reading a tech magazine accidentally. Now he writes about everything tech from... read more
Reviewed by Vlad Turiceanu
Vlad Turiceanu
Vlad Turiceanu
Passionate about technology, Windows, and everything that has a power button, he spent most of his time developing new skills and learning more about the tech world. Coming... read more
Affiliate Disclosure
  • Follow the steps described in this guide to successfully update the node.js version on Windows.
  • To start the process you can try updating node.js with the installation file.
  • Alternatively, you can update the node version on your Windows device via Command Prompt, with NPM.
Update Nojs npm

To fix various PC problems, we recommend Restoro PC Repair Tool:
This software will repair common computer errors, protect you from file loss, malware, hardware failure and optimize your PC for maximum performance. Fix PC issues and remove viruses now in 3 easy steps:

  1. Download Restoro PC Repair Tool that comes with Patented Technologies (patent available here).
  2. Click Start Scan to find Windows issues that could be causing PC problems.
  3. Click Repair All to fix issues affecting your computer's security and performance
  • Restoro has been downloaded by 0 readers this month.

If you are using Node.js for development work, it is important that you are running the latest version of the runtime environment to create better products.

Irrespective of the work case, make sure you update Node.js regularly for stable performance. If you are new to Node.js, here is how you can update Node.js on Windows with a step-by-step guide.

How do I update Node.js on Windows computers?

1. Update Node.js with the installer

update Node.js on Windows
  1. Open the js download section.
  2. Here you need to download the latest stable release for the popular runtime environment.
  3. Select Windows Installer to download the 64-bit installer.
  4. You can manually download the 32-bit installer as well.
  5. Once the download is complete, double-click to run the installer.
  6. On the Node.js setup wizard, click Next.
    update Node.js on Windows
  7. Accept the license agreement by checking the box and clicking Next.
  8. Choose the destination folder to install Node.js.
  9. You can customize the feature installation process on the Custom Setup window.
  10. Click Install to complete the installation.
  11. Click Finish.

You can check the Node.js version with the command node -v in the command prompt.

Updating Node.js by downloading the installer from the official page is easy. While this is a straightforward process, at times the system may fail to overwrite the older Node.js release resulting in two instances of Node.js.

If that problem occurs, follow the second method to install Node.js on Windows with NPM.

2. Update the Node Version on Windows with NPM

1. Press the Windows key on your keyboard to open the Windows search box.

2. Type cmd in it, right-click on the result and select Run as Administrator.

cmd admin

3. Enter the following command to check the version you are currently using: Node -v

update Node.js on Windows

4. Enter the following command to clear npm cache: npm cache clean -f

5. Install the dependencies in global mode with the following command:
npm install -g n

6. Once n is installed, use the module to install the latest version of Node.js.

7. Type the following command and hit Enter:sudo n stable

8. If you want to install Node.js with the latest feature, use this command instead:
Sudo n latest

9. If you prefer to install the specific version of Node.js, use the following command:
n [version.number]

10. Once installed, check the currently installed version with this command: Node -v

Another handy method to update your Node.js version on Windows is via Command Prompt, by making use of Node Package Manager, also known as NPM.

NPM is the official package manager for updating Node.js. Therefore, it is perfectly safe to use and will get the job done within a few minutes.

Node.js is an open-source, cross-platform, JavaScript runtime environment that allows you to run JavaScript code outside of a web browser. Being a popular JavaScript runtime environment, Node.js gets new updates every few weeks.

While installing these updates may not be critical soon after the release, at times some features can only be used after updating to newer releases.

By following the steps in the article, you can update Node.js on Windows with ease. Do let us know if you prefer to update via the installer or use the command prompt in the comments.

idee restoro Still having issues? Fix them with this tool:
  1. Download this PC Repair Tool rated Great on (download starts on this page).
  2. Click Start Scan to find Windows issues that could be causing PC problems.
  3. Click Repair All to fix issues with Patented Technologies (Exclusive Discount for our readers).

Restoro has been downloaded by 0 readers this month.

This article covers:Topics: