{"schemaVersion":"opencli.cli.v1","slug":"wrangler","name":"Wrangler","shortName":"wrangler","binaryName":"wrangler","maker":{"slug":"cloudflare","name":"Cloudflare","type":"org","url":"https://cloudflare.com","officialPlatformMaker":true,"featuredBuilder":false},"category":"Cloud","description":"The official CLI from Cloudflare. Workers, queues, and kv and r2 from the terminal. Start with `wrangler login` and go from there. Supports structured output — good for scripts and agents.","tagline":"Workers, queues, and kv and r2 from the terminal.","install":{"packageManager":"npm","command":"npm i -g wrangler","packageName":null,"npmPackage":"wrangler","brewFormula":null,"brewCask":null,"crateName":null,"pypiPackage":null,"goPackage":null,"dockerImage":null},"verify":{"command":"wrangler whoami","signal":"Prints the active Cloudflare identity."},"quickStart":"wrangler login && wrangler init hello-workers","exampleWorkflow":["wrangler login","wrangler dev","wrangler deploy"],"agent":{"readiness":{"label":"Great for agents","score":75,"reasons":["Structured output is available for parsing.","Supports non-interactive/scripted use.","Works well in CI or repeatable automation."],"guardrails":["Verify identity/account before running task commands.","Network access is required; avoid leaking secrets in logs.","Require confirmation before apply, delete, deploy, transfer, merge, or write actions."]},"packUrl":"https://opencli.co/cli/wrangler/agent.md","packMarkdown":"# OpenCLI Agent Pack: Wrangler\n\nUse this when an AI agent needs to work with `wrangler`.\n\n## What this CLI is for\nThe official CLI from Cloudflare. Workers, queues, and kv and r2 from the terminal. Start with `wrangler login` and go from there. Supports structured output — good for scripts and agents.\n\nBest for: workers, queues, and kv and r2 from the terminal.\n\n## Agent readiness\nGreat for agents (75/100)\n- Structured output is available for parsing.\n- Supports non-interactive/scripted use.\n- Works well in CI or repeatable automation.\n\n## Install\n```sh\nnpm i -g wrangler\n```\n\n## Verify before real work\n```sh\nwrangler whoami\n```\nExpected signal: Prints the active Cloudflare identity.\n\n## Safe starting commands\n```sh\nwrangler whoami\n```\n\n```sh\nwrangler login && wrangler init hello-workers\n```\n\n```sh\nwrangler login\n```\n\n```sh\nwrangler dev\n```\n\n```sh\nwrangler deploy\n```\n\n## Guardrails for agents\n- Verify identity/account before running task commands.\n- Network access is required; avoid leaking secrets in logs.\n- Require confirmation before apply, delete, deploy, transfer, merge, or write actions.\n\n## Suggested agent instruction\nYou may use Wrangler (`wrangler`) for workers, queues, and kv and r2 from the terminal.. First install it if missing, then run the verify command. Start with read-only or inspection commands. Summarize what you found before changing anything. Ask for confirmation before commands that mutate remote state, spend money, deploy, delete data, merge code, or expose secrets.\n\nSource: OpenCLI\n"},"fit":{"bestFor":"workers, queues, and kv and r2 from the terminal.","useThisIf":"You're on Cloudflare and want the official terminal experience.","skipIf":"You're not comfortable with a tool that can write to production.","whatHappensNext":"Run `wrangler dev` to see it in action."},"capabilities":{"agentFriendly":true,"supportsJsonOutput":true,"supportsNonInteractive":true,"supportsDryRun":false,"requiresAuth":true,"requiresNetwork":true,"ciFriendly":true,"localFirst":false,"destructivePotential":"high"},"taxonomy":{"useCases":["Workers","Queues","KV and R2"],"aliases":["cloudflare cli"],"keywords":["workers edge deploy"],"tags":["official","agent-friendly","ci-friendly"]},"links":{"website":"https://developers.cloudflare.com/workers/wrangler/","github":"https://github.com/cloudflare/workers-sdk","docs":"https://developers.cloudflare.com/workers/wrangler/","opencli":"https://opencli.co/cli/wrangler","markdown":"https://opencli.co/cli/wrangler/agent.md","json":"https://opencli.co/cli/wrangler.json"},"metrics":{"githubStars":4140,"latestRelease":"2026-06-08T10:39:38Z","license":"Apache-2.0","metricLabel":"npm weekly downloads","metricValue":15793068,"metricSource":"npm","metricAsOf":"2026-06-08T11:00:29.581Z"}}