# install
yarn === npm install
# add package to dependency
yarn add PKG === npm install PKG
# add package to devDependency
yarn add -D PKG === npm install -D PKG
# run package.json script
yarn CMD === npm run CMD
Last active
June 29, 2018 04:18
-
-
Save schuchard/6e16fde60015b141d09d0f44531a6cdd to your computer and use it in GitHub Desktop.
yarn vs npm commands
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment