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