Yarn 2+ dependency caching now supported
Vercel now supports dependency caching for Yarn 2 and newer, reducing install times alongside existing support for npm, pnpm, Bun, and Yarn 1.
Vercel now caches dependencies for projects using Yarn 2 and newer, reducing install times and improving build performance. Previously, caching was only supported for npm, pnpm, Bun, and Yarn 1. To disable caching, set the environment variable with a value of in your project settings.VERCEL_FORCE_NO_BUILD_CACHE1 If you're using Yarn 4, , as.enable Corepack recommended by Yarn Visit to learn more.the Build Cache documentation Read more