check yarn version code example Example 1: yarn latest version choco install yarn Example 2: yarn install specific version yarn set version <version>