The command `corepack use` requires specifying a version. e.g. `corepack use 'yarn@*'` This command should allow simply `corepack use yarn`.