last yarn version code example Example 1: yarn version yarn --version Example 2: yarn latest version choco install yarn