yarn install a certain version code example
Example 1: yarn latest version
choco install yarn
Example 2: pick yarn version
yarn policies set-version <version number>
choco install yarn
yarn policies set-version <version number>