查看版本号
npm -v
升级(最新)版本
npm install npm -g
npm get registry
// 配置淘宝源 npm config set registry https://registry.npmmirror.com // 验证是否成功 npm config get registry // 原始源 npm config set registry https://registry.npmjs.org
npm clean cache -force
Nvm→