yarn

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

 

posted @ 2018-10-30 00:04  Running00  阅读(134)  评论(0编辑  收藏  举报