How to change Node Version on Windows

Quick read

  1. Uninstall old Node version.
  2. Pick a new version to download from https://nodejs.org/dist/.
  3. Pick “Node-Vxx.msi”.
  4. Install the new version.
  5. Restart the terminals.

It’s easy to change the node version on windows and goes quite fast if you know how to. So in this post I way will show you how to uninstall the old one and install a new Node version for Windows in minutes.

  • Installed the wrong one.
  • Need to downgrade because of project dependencies.
  • Need to upgrade because of project dependencies.
  • Test if your project allows a newer version of node.
  • Have to reinstall Node on your computer.

This is only if you have Node installed from before, if you need to install Node from scratch take a look here!

There are other ways to do this if you need to switch Node versions a lot on windows. But there are some reasons why you need to change your current version without installing nvm, which can take some time.
If you need to change Node version a lot, checkout “nvm”s Github project https://github.com/coreybutler/nvm-windows

Changing Node Version

Unistall Node js

First, before installing a new Node version you have to uninstall the old one, that is easily done with the uninstall program, this should already be installed, if you have Node installed.
Now do a search for “Node” in Windows, and you should see this:

Unistall Node from your computer
Unistall Node from your computer

Pick new Node version

Now when Node is now uninstalled you should download the new version you need from this URL: https://nodejs.org/dist/.
So if you take a look at the picture below, is where you select what version of Nodejs you need. Most of the time, the latest major version will work. But some packages might require a specific version.

Pick the correct node version you need
Pick the correct node version you need

Select correct MSI version

When you have picked the correct version, pick “Node-Vxx.msi” and select 64 or 32(86) bit depending on your Windows version. The MSI is the new installer program and the easiest way to install Node on Windows with help of the installer program.

Select node msi version
Select node msi version

Now when the download of the MSI is complete, run the installer, restart the terminals and the new Node version is installed!

If you ever need another version, just run this tutorial again and change Node version again, and you can do this how many times as you like.
So lets do a quick recap!

Recap

  1. Uninstall old Node version.
  2. Pick a new version to download from https://nodejs.org/dist/.
  3. Pick “Node-Vxx.msi”.
  4. Install the new version.
  5. Restart the terminals.

Leave a Reply

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

Please reload

Please Wait