yarn update yarn code example Example: update yarn # Windows choco upgrade yarn # MacOS brew upgrade yarn