How-toGeneralMigrate to Yarn 2On this pageMigrate to Yarn 2Getting StartedInstallationnpm install -g yarnMigration.gitignoreInside a project directory:yarn set version berryCreate a yarnrc.yml file.ConfigurationnodeLinker: "node-modules"Run yarn install to migrate/create lockfile.Upgradeyarn set version latest