Yarn and Npm Equivalent Command (Translation Cheat Sheet)

June 1, 2019
yarn add
npm yarn
npm install –save PACKAGE yarn add PACKAGE
npm install –save-dev PACKAGE yarn add PACKAGE –dev
npm uninstall –save PACKAGE yarn remove PACKAGE
npm outdated yarn outdated
npm update –save yarn upgrade
npm install –global PACKAGE yarn global add PACKAGE
npm update –global yarn global upgrade
This work is licensed under a
Creative Commons Attribution-NonCommercial 4.0 International License.