Vercel now supports pnpm v8. For deployments with a
pnpm-lock.yaml file with
lockfileVersion: '6.0', Vercel will automatically use pnpm v8 for install and build commands.
To upgrade your project to pnpm v8, run
pnpm install -g pnpm@8 locally and then re-run
pnpm install to generate the new
pnpm-lock.yaml file. After updating, create a new deployment for the changes to take effect.
If you want to specify an exact version of pnpm in your Vercel project, enable Corepack (experimental).
Check out the documentation to learn more.