# Yarn 2\+ dependency caching now supported

**Published:** March 31, 2025 | **Authors:** Austin Merrick

---

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 `VERCEL_FORCE_NO_BUILD_CACHE` with a value of `1` in your project settings.

If you're using Yarn 4, [enable Corepack](https://vercel.com/docs/builds/configure-a-build#corepack), as[ recommended by Yarn](https://yarnpkg.com/corepack).

Visit [the Build Cache documentation](https://vercel.com/docs/deployments/troubleshoot-a-build#understanding-build-cache) to learn more.

---

📚 **More updates:** [View all changelog entries](/changelog/sitemap.md) | [Blog](/blog/sitemap.md)