how to update yarn to the newest version code example Example: update yarn # Windows choco upgrade yarn # MacOS brew upgrade yarn