After receiving a project with a relatively low version of Node, the method to reduce the version number was to download the appropriate version number from the official website after the previous uninstall. But after the actual operation, we found that there was no download of historical version number on the official website. In this case, we had to give up looking for other ways.

So after searching for related articles found a good management tool, NVM: github.com/coreybutler… (Download link)

Be sure to delete all nodes on your computer before doing so!! (It is very important to clean node before installing NVM.)

Step 1: Refer to the following deletion methods:

1. Uninstall programs and functions from the uninstaller.

2. Restart (or you might kill all node-related processes from task manager).

3. Look for these folders and delete them (and their contents) (if there are any). Depending on the version you install, UAC Settings, and CPU architecture, these may or may not exist:

C:\Program Files (x86)\Nodejs C:\Program Files\Nodejs C:\Users{User}\AppData\ NPM (or % AppData %\ NPM)\ \ \ \ \ \ C:\Users{User}\AppData\Roaming\npm-cache (or % AppData % npm-cache)

4. Check your %PATH% environment variable to ensure that no references to Nodejs or NPM exist.

5. If you still haven’t unmounted, type where node at the command prompt and you will see where it is – deleted (or possibly the parent directory).

6. Reboot, good move. Reference data: www.cnblogs.com/fighxp/p/74… To install NVM: github.com/coreybutler… (Download link).

Step 2: Download setup directly,

After you click install, there will be two paths for you to confirm. The first path is to choose the path to install NVM. It is better to install it on DISK C so as to reduce the error rate (mainly the path should not appear in Chinese, it is better to use English).

The second path is the nodeJS installation path, we use NVM to install nodeJS, the installation path is the NVM path, and then after the installation, you can create a new nodejs folder under the NVM folder.

Use the administrator to open CMD and type one at a time: NVM, NVM install latest, NVM install The version number you want to download.

I won’t post pictures of the last two commands here. Final use:nvm list, will normally display the latest version you have downloaded and the version you specified.

Finally type: NVM use the version number you want to use

Success!!

You can use the node -v command to check the current version number

Could not download node.js v17.3.0 64-bit executable. * * * * * * * * * * * * * * * * * * * * * * * * *