Skip to content

wrangler

OfficialAgent-readyDeployCloud

Workers, queues, and kv and r2 from the terminal.

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.

Task fit

workers, queues, and kv and r2 from the terminal.

Lane

Ship previews, inspect logs, and move safely toward production.

Operator brief

Use wrangler for workers, queues, and kv and r2 from the terminal.

Run `wrangler dev` to see it in action.

Repository family

Cloudflare

First trust check

Wrangler prints the active Cloudflare identity.

Safe first loop

Install, verify, then run one real command.

Preview deploy loop

Install command

$ npm i -g wrangler

Operator pack

Copy or export the working notes for this CLI before handing it to an agent.

Verify

$ wrangler whoami

Wrangler prints the active Cloudflare identity.

First real command

$ wrangler login && wrangler init hello-workers

First steps

  1. 01Install wrangler.
  2. 02Run `wrangler whoami` first.
  3. 03Start with `wrangler login && wrangler init hello-workers`.
  4. 04Authenticate wrangler before asking the agent to do real work.

When to use / hold off when

Best for

workers, queues, and kv and r2 from the terminal.

Use this when

You're on Cloudflare and want the official terminal experience.

Hold off when

You're not comfortable with a tool that can write to production.

Trust and constraints

trusted99/100
OfficialInstall readyTrustedCaution
JSON outputYes
Non-interactiveYes
CI-friendlyYes

Why operators pick it

  • wrangler fits deploy well, especially for workers, queues, and kv and r2 from the terminal.
  • It is the official CLI from Cloudflare.
  • Good for scripts and agents.

Constraints

  • Sign in before real work.
  • Needs network access.
  • Start with read-only or dry-run commands.

Repository context

Other CLIs in this family

This is the only CLI surfaced from this family right now.

Facts and links

Install withnpm
npm weekly downloads5.4M
GitHub stars3.9K
LicenseApache-2.0
UpdatedMar 25, 2026