SYSTEM Cited by 3 sources
Wrangler CLI¶
Wrangler is Cloudflare's official
command-line tool for Workers and,
increasingly, the rest of the Cloudflare developer platform
(developers.cloudflare.com/workers/wrangler).
It ships the local-dev loop (wrangler dev), deployment
(wrangler deploy), bindings management, tail / log streaming,
secret management, and configuration through
wrangler.jsonc.
Role¶
- Primary developer interface to Workers, Durable Objects, KV, R2, D1, Queues, Workflows, and related developer-platform products.
- Hosts local-dev via Miniflare: same V8 isolate runtime as production + local SQLite / disk state for bindings.
- Configuration-as-code lives in
wrangler.jsonc, which ties Workers + bindings + environment variables together.
Deprecated syntax as a training-data case study¶
Wrangler's syntax has churned across major versions. The 2026-04-17 Redirects for AI Training launch post used Wrangler's KV commands deprecation as the canonical case study for "why training-crawler behaviour on deprecated docs matters."
- Deprecated in Wrangler 3.60.0: the colon syntax
wrangler kv:key put ...(and siblingwrangler kv:namespace ...,wrangler kv:bulk ...). - Current syntax as of April 2026: the space-separated form
wrangler kv key put .... - Failure mode: in April 2026 a leading AI assistant answered "How do I write KV values using the Wrangler CLI?" with the deprecated colon syntax — despite Cloudflare's docs carrying an inline deprecation notice at the top of the KV commands page. Documentation advisory signals did not reliably make it through LLM training pipelines.
This specific failure motivated the launch of Cloudflare's
Redirects for AI Training
feature — deprecated Wrangler docs on
developers.cloudflare.com now return HTTP 301 to the current
equivalent pages for verified AI-training crawlers.
Evolution into cf¶
Historically, Wrangler = CLI for Workers. As of 2026-04-13
Cloudflare is previewing cf, the
next-generation Wrangler whose scope is the entire Cloudflare
platform (every product, ~3,000 API operations). Over the
coming months the new cf binary and today's wrangler will
merge into a single tool (Source:
sources/2026-04-13-cloudflare-building-a-cli-for-all-of-cloudflare).
The rename from wrangler to cf signals "CLI for all of
Cloudflare" rather than "CLI for Workers".
Seen in¶
- sources/2026-04-13-cloudflare-building-a-cli-for-all-of-cloudflare
— the announcement of the next-gen evolution into
cf. - sources/2026-01-29-cloudflare-moltworker-self-hosted-ai-agent — Wrangler used as the deploy tool for Moltworker's self-hosted Cloudflare build.
- sources/2026-04-17-cloudflare-redirects-for-ai-training-enforces-canonical-content
— canonical deprecated-syntax case study (
kv:key put→kv key putin Wrangler 3.60.0).
Related¶
- systems/cf-cli
- systems/cloudflare-workers
- systems/miniflare
- systems/cloudflare-local-explorer
- systems/cloudflare-vite-plugin
- systems/redirects-for-ai-training — the Cloudflare feature that steers AI training crawlers away from Wrangler's deprecated-command docs.
- systems/cloudflare-developer-documentation — the docs surface carrying the deprecation notices.