NPM

修改路径

npm config set prefix "D:\soft\nodejs\node_global"

npm config set cache "D:\soft\nodejs\node_cache"

设置代理

npm config set proxy=http://127.0.0.1:10888

npm config delete http-proxy

npm config delete https-proxy