Does Vercel support Yarn 2?

Information on Vercel's support for Yarn 2.
Last updated on March 13, 2025
Build, Deployment & Git

Yarn 2 is supported. See Yarn 2's usage guide to get started.

For Vercel to detect and use Yarn 2 instead of Yarn 1, do one of the following:

  • enable Corepack for your project
  • add yarn to .yarn/releases with yarn set version 2.4.3

If you find bugs or would like to request further support of Yarn 2, please submit feedback here.

Couldn't find the guide you need?