A lockfile pins your dependencies, but not the tool that reads it. If one developer runs pnpm 11 69,400 and CI runs pnpm 12, or someone types npm 2,036 install in a Yarn 11,798 repository, the lockfile drifts or breaks. Corepack 3,816 exists to pin the package manager itself.
MENU
Corepack
Corepack and Pinning a Package Manager