Loading... ## NPM 查询当前镜像 ```bash npm get registry ``` 设置为淘宝镜像 ```bash npm config set registry https://registry.npmmirror.com ``` 设置为官方镜像 ```bash npm config set registry https://registry.npmjs.org/ ``` ## YARN 查询当前镜像 ```bash yarn config get registry ``` 设置为淘宝镜像 ```bash yarn config set registry https://registry.npmmirror.com ``` 设置为官方镜像 ```bash yarn config set registry https://registry.yarnpkg.com ``` © 允许规范转载 打赏 赞赏作者 支付宝微信 赞 1 如果觉得我的文章对你有用,请随意赞赏