1.查看registry
yarn config get registry
2.设置yarn registry
yarn config set registry 'https://registry.npm.taobao.org'
3.yarn 类似 npm i 功能
4.npm get
npm config get registry
5.npm set
npm config set registry https://registry.npm.taobao.org
6.yarn 全局安装
yarn global add xxx
© 著作权归作者所有
举报
发表评论
0/200