npx wrangler deploy --dry-run

Category: Cloudflare

npx wrangler deploy --dry-run

Preview the deploy bundle without uploading

Builds the Worker exactly as deploy would and reports the bundle size and assets, then stops without publishing anything. Perfect for CI checks and for confirming config changes compile. When output looks right, drop --dry-run to ship it.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.