设置淘宝源
npm config set registry https://registry.npm.taobao.org
如果需要设置公司源 运行以下命令
npm config set registry http://127.0.0.1:4873
查看源 查看当前的源
npm config get registry
npm config set registry https://registry.npm.taobao.org
npm config set registry http://127.0.0.1:4873
npm config get registry
本文标题:npm换源 简单直接
本文链接:https://www.haomeiwen.com/subject/fuqokctx.html
网友评论