Docs/Reference/CLI/set/version/from/sources
yarn set version from sources
Set the version of Yarn to use with the local project from the sources of the ZPM repository
Set the version of Yarn to use with the local project from the sources of the ZPM repository