npm config list // 列出npm相关配置
npm config set proxy http://127.0.0.1:8888 // 设置http代理npm config set https-proxy http://127.0.0.1:8888 // 设置https代理npm config set registry https://registry.npmjs.org // 设置registry