wrangler r2 bucket local-uploads manages local uploads
Introduced 2026-02-03 · score 0.95
HOW TO USE IT
When managing local uploads for an R2 bucket, run `npx wrangler r2 bucket local-uploads get <BUCKET_NAME>` to check status, `enable <BUCKET_NAME>` to enable with confirmation, `enable <BUCKET_NAME> --force` to skip confirmation, or `disable <BUCKET_NAME>` to turn it off. With local uploads enabled, data is written near the client and asynchronously replicated to the bucket.
npx wrangler r2 bucket local-uploads get <BUCKET_NAME>npx wrangler r2 bucket local-uploads enable <BUCKET_NAME> --forcenpx wrangler r2 bucket local-uploads disable <BUCKET_NAME>WHY THIS HELPS
Enable or disable local uploads for an R2 bucket from the command line.
BEFORE THIS CHANGE
Without local uploads, object data travels from the client to the bucket's storage infrastructure.
REQUIREMENTS AND LIMITATIONS
- Version: 4.62.0
- <BUCKET_NAME> (required): Name of the R2 bucket to manage.
- --force: Enable local uploads without a confirmation prompt.
- Enabling without `--force` prompts for confirmation.
FIRST-PARTY EVIDENCE
- https://github.com/cloudflare/workers-sdk/releases/tag/wrangler%404.62.0
- https://developers.cloudflare.com/r2/buckets/local-uploads/
- https://github.com/cloudflare/workers-sdk/releases/tag/wrangler@4.62.0
Check the installed version and the source before using it. Entry JSON