News Developer Tools

Vercel speeds up pnpm installs with reused dependency checks

Vercel now reuses successful dependency verification across deployments, so pnpm installs can finish in milliseconds when dependencies have not changed.

Vercel now reuses successful dependency verification across deployments, so pnpm installs can finish in milliseconds when nothing has changed. pnpm is a package manager, a tool that downloads the code libraries a project depends on. Vercel says the change shortens the install step that runs before every build.

Vercel reports that Pro deployments with a restored build cache saw average install times drop 14% with the optimization enabled. That figure comes from the company's own observations.

The biggest gains come in the best case. When dependencies are unchanged and the earlier verification can be reused, the install skips repeating that check. Vercel's example shows a lockfile check of 461 entries taking 2.5 seconds, with the whole install done in 2.8 seconds. After the change, the same check is marked as verified 58 seconds earlier, and the install finishes in 135 milliseconds.

The improvement applies automatically on all Vercel plans. It needs no configuration.

Source: Faster pnpm installs – Vercel.