Yarn和npm命令对比
npm yarn
npm install yarn
npm install react --save yarn add react
npm uninstall react --save yarn remove react
npm update --save yarn upgrade
npm | yarn |
---|---|
npm install | yarn |
npm install react | yarn add react |
npm uninstall react | yarn remove react |
npm update --save | yarn upgrade |