记忆存储Npm 换源不啰嗦 npm config set registry https://registry.npmmirror.com鉴于网上内容大部分过于啰嗦,故自己记录一下查看当前源1 npm config get registry 淘宝源本项目使用1 npm install --registry=https://registry.npmmirror.com 全局使用1 npm config set registry https://registry.npmmirror.com 官方源本项目使用1 npm install --registry=https://registry.npmjs.org/ 全局使用1 npm config set registry https://registry.npmjs.org/