What
Upgrade all globally installed Yarn packages to their latest versions in one command.
Why
Yarn Classic includes yarn global upgrade, which updates global packages within their declared version ranges. Add --latest when you intentionally want the latest releases even if that ignores those ranges.
How
yarn global upgrade
# Ignore declared version ranges and install the latest releases
yarn global upgrade --latest