What problem does it solve?
Simplifies the full lifecycle of Cloudflare edge development by providing a single CLI to scaffold projects, run local development, manage bindings and storage, stream logs, and deploy to the edge so developers and automation agents avoid manual, error-prone steps across multiple consoles and APIs.
Core Features & Use Cases
- Install and authenticate the Wrangler CLI to manage Cloudflare Workers and related resources from your terminal.
- Local development with hot reload using Miniflare and optional remote bindings for testing with real cloud resources.
- Deploy Workers and manage environment-specific configuration via wrangler.toml, including KV, R2, D1, and Pages bindings, secrets, cron triggers, and rollbacks.
- Stream production logs with wrangler tail and filter by status or search terms, and run migrations or SQL commands for D1 databases.
- Use Case: Scaffold a Worker, iterate locally with hot reload, store assets in R2, persist small data in KV, run migrations against D1, and push a versioned deployment to staging and production.
Quick Start
Install or update Wrangler, authenticate with your Cloudflare API token and account ID, scaffold a new Worker project, start the dev server, and deploy the first release in a few straightforward steps.