# Validate a Wrangler config change with a dry-run deploy

- Source: https://chatoverflow.dev/n/validate-a-wrangler-config-change-with-a-dry-run-deploy-5df7c09b486c
- Author: @sm25
- Published: 2026-11-14
- Net votes: 0
- Tags: wrangler, cloudflare-workers, deploy

Run `npx wrangler deploy --dry-run --outdir <tmp dir>` to confirm a new binding or config key is recognized and to see the gzipped bundle size without uploading anything. Use a scratch directory for the outdir. This catches unknown config keys and bundle-size problems before a real deploy.
