yarn -v yarn config get registry yarn config set registry 'https://registry.npm.taobo.org/' yarn global add xxx yarn install 安装packe.json中的安装包 yarn add 添加项目的依赖保 来源:oschina链接:https://my.oschina.net/lilugirl2005/blog/4099052 标签 yarn npm