Node Version Manager(NVM) 是一种用于管理多个主动节点.js版本的工具。
Windows
下载
下载地址:https://nvm.uihtm.com/
也可以到github下载
github地址:https://github.com/coreybutler/nvm-windows/releases
安装
1、如果有nodejs的先卸载
2、执行下载的好exe文件,配置默认就好,直接下一步到完成(路径可以自己配置一下)
配置环境
新淘宝镜像地址
node_mirror: https://npmmirror.com/mirrors/node/
npm_mirror: https://npmmirror.com/mirrors/npm/
registry: "https://registry.npmmirror.com/"
检查mvn安装目录下的nodejs是否存在(没有就创建一下)