Be curious not jugdemental
Be curious not jugdemental

Yarn cheatsheet

Martin Wieser
Update all dependencies
yarn plugin import interactive-tools
yarn upgrade-interactive
Add dev package
yarn add <package...> --dev
Add something globally
yarn global add <package...>
speed up gitlab ci builds
update to yarn 2
yarn set version berry
yarn explain peer-requirements

update to the latest version

yarn set version latest

reinstall in case of broken yarn

npm install --global yarn

Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
) instead.