how to upgrade a version with yarn code example Example: update yarn # Windows choco upgrade yarn # MacOS brew upgrade yarn