Creates the yarn and pnpm shim executables so running yarn or pnpm in any project uses the version the project pins, without a manual install. Corepack ships with Node and manages package managers the way nvm manages Node versions. Disable it again with corepack disable.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.