windows---node.js upgrade, version management

node.js upgrade to the latest version

  1. Go to the node.js official website https://nodejs.org/en/ and download the latest version of node;Insert picture description here
  2. View the current node version:
    Insert picture description here
  3. Install the downloaded new version of node to the previous node version directory; check it through node -v, the version is modified;

Manage node version-nvmw

nvmw is a node version management tool for windows, nvm is a node version management tool in mac
Insert picture description here
View the installation location of nvmw
Insert picture description here

Use
1.nmvw -h Use help
2.nmvw -V version

Insert picture description here
3. There is a problem with nvmw install v8.0.0
Insert picture description here
4. Under normal circumstances:
nvmw install v8.0.0(v+version number) can install the corresponding version of node
nvmw use v12.16.3 can switch to the corresponding version of node;

Reference file:
https://blog.csdn.net/huangdengji/article/details/84914753

https://www.jianshu.com/p/82c5f3a39559

Guess you like

Origin blog.csdn.net/weixin_39854011/article/details/105904343