How to pin a specific Bun version for Vercel builds?

Learn how to use a specific Bun version for Vercel builds.

Anna
1 min read
Last updated December 10, 2025

In Project Settings or vercel.json, use bunx bun@x.x.x install as the Install Command. For example:

bunx bun@1.3.1 install
CleanShot 2025-12-10 at 12.08.56@2x.png

For pnpm and Yarn, use Corepack.

Was this helpful?

supported.
How to pin a specific Bun version for Vercel builds? | Vercel Knowledge Base