update yarn

Shell
yarn upgrade --latest# Windows
choco upgrade yarn

# MacOS
brew upgrade yarn
Source

Also in Shell: