Be curious not jugdemental
Be curious not jugdemental

Yarn cheatsheet

MW
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
https://medium.com/disdj/speed-up-npm-yarn-install-in-gitlab-1434437f9857
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 (
CtrlP
) instead.