wrangler

Installation
Summary

CLI for deploying and managing Cloudflare Workers, KV, R2, D1, Vectorize, Hyperdrive, AI, Containers, Queues, Workflows, and Pipelines.

  • Covers 10+ resource types with dedicated commands for creation, configuration, and lifecycle management across Workers, storage, databases, and compute services
  • Supports local development with wrangler dev using local storage simulation or remote bindings for real resources; includes TypeScript type generation via wrangler types
  • Configuration via wrangler.jsonc with support for environment-specific overrides, secrets management, cron triggers, and Durable Objects bindings
  • Provides deployment workflows including dry-run validation, versioning, rollback, and secret management; tail command for live log streaming
SKILL.md

Wrangler CLI

Use the project's Wrangler version and retrieve the relevant documentation before writing commands or configuration. CLI flags and configuration fields change; do not rely on memorized examples.

Inspect the Project

  • Find the package manager, installed Wrangler version, package scripts, framework, and Wrangler config. Run commands through the project's scripts or package manager so they use its local version. Install dependencies using the existing lockfile when needed; do not silently upgrade Wrangler to match current docs. If Wrangler is not a dependency, follow the installation guide to add it locally.
  • Identify the config used by the build or deploy command, including framework-generated config. Edit its source rather than generated output.
  • Establish the target account, Worker, environment, and resource before running commands that change them. For data operations, determine whether the target is local or remote.

Retrieve What the Task Needs

Use the Cloudflare MCP docs tool if available, or fetch the relevant linked page directly. Follow links to the specific command or product involved; avoid loading the entire reference. If a page moves, rediscover it through the Wrangler command index or Cloudflare docs search.

Installs
83.5K
GitHub Stars
2.8K
First Seen
Jan 19, 2026
wrangler — cloudflare/skills