npm-和-yarn-换源

1
2
3
4
$ yarn config get registry
$ yarn config set registry 'https://registry.npm.taobao.org'
$ npm config get registry
$ npm config set registry 'https://registry.npm.taobao.org'

几个可能能用的源

npm -----  https://registry.npmjs.org/
cnpm ----  http://r.cnpmjs.org/
taobao --  https://registry.npm.taobao.org/
nj ------  https://registry.nodejitsu.com/
rednpm -- http://registry.mirror.cqupt.edu.cn
 skimdb -- https://skimdb.npmjs.com/registry

yarn

原本的源好像是 https://registry.yarnpkg.com


npm-和-yarn-换源
http://example.com/2022/10/02/npm-和-yarn-换源/
作者
Jie
发布于
2022年10月2日
许可协议