
找到node14版本下的node_global文件夹,复制文件夹路径,然后点击环境变量、系统编辑,点击path、点击编辑

在终端输入npm config set prefix "E:\devSoft\git\nvm\v14.18.3\node_global" ,其中E:\devSoft\git\nvm\v14.18.3\node_global为你的node_global文件夹路径。**npm config set cache "E:\devSoft\git\nvm\v14.18.3\node_cache"**为你的缓存路径。

