yarn version terminal code example
Example 1: yarn install specific version
yarn set version <version>
Example 2: pick yarn version
yarn policies set-version <version number>
yarn set version <version>
yarn policies set-version <version number>