yarn upgrade cmd code example
Example 1: yarn update all dependencies to latest
yarn upgrade --latest
Example 2: update yarn
# Windows
choco upgrade yarn
# MacOS
brew upgrade yarn
yarn upgrade --latest
# Windows
choco upgrade yarn
# MacOS
brew upgrade yarn