LoginSignup
25
24

More than 5 years have passed since last update.

yarn cheat sheet - vs npm

Last updated at Posted at 2016-10-18
npm yarn
npm init yarn init
npm run <script name> yarn run <script name>
npm test yarn test
npm bin yarn bin
npm install yarn
npm install <package name> yarn <package name>
npm install <package name> --save yarn add <package name>
npm install <package name> --save-dev yarn add <package name> --dev
npm install <package name> --global yarn global add <package name>
npm uninstall <package name> yarn remove <package name>
npm ls yarn ls
npm cache clean yarn cache clean
npm cache ls yarn cache ls
npm outdated yarn outdated
npm update --save yarn upgrade
npm install <package name>@latest --save yarn add <package name>
npm link yarn link
npm login yarn login
npm publish yarn publish
- yarn why <package name>
- yarn licenses ls
- yarn licenses generate-disclamer
25
24
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
25
24