[nodejs upgrade version] win10 nodejs version low upgrade version process

first

The n module mentioned online does not support the window system! ! !

To upgrade node in window system, you can only download the window installation package from the node official website to overwrite the previous node.

The upgrade steps are as follows:

1. Find the installation path of your node. If you don’t know, you can enter this command in the cmd command line to see it.

where node

2. The command to check the node version is this

node -v

3. The website address for downloading each version of node is this. The way to download is to go in and look at the version number starting with V and find the version you want.
Then click on it to find it. Just download the one corresponding to your computer system. For example, I am win10 and I downloaded the one marked in red circle in the picture below
The download URL of each version of node, click to jump
Insert image description here
4. Find the node folder path and replace all the files inside with new files.

Then use node -v to take a look and the version will be updated.

Tip: Do not upgrade node and npm unless necessary. This will cause some projects to fail. An incompatibility has occurred.

Guess you like

Origin blog.csdn.net/seeeeeeeeeee/article/details/134905145