type: service
status: active
timestamp: 2026-06-20
tags: [services, dev-tools, cloudflare, workers, cli, primary]

Wrangler

Cloudflare official CLI for Workers/Pages/KV/R2/D1/Queues — free with Cloudflare account

Wrangler

Role

Cloudflare’s official CLI for every Worker in the family — the umbrella api.oriz.in Hono Worker per hono-worker-api-umbrella, the s.oriz.in shortener Worker, the og.oriz.in Satori endpoint, plus per-site Pages Functions where used.

Two modes:

Plus deploy (wrangler deploy), tail (wrangler tail), secret management (wrangler secret put), KV / R2 / D1 / Queues admin sub-commands.

Free tier

Card / subscription required?

NO. Free as part of the Cloudflare account. Cloudflare R2 remains rejected on adjacent-paid-feature card-on-file grounds — Wrangler the CLI is fine; the Workers Paid plan it can also deploy to is what’s avoided.

Install + use

pnpm add -D wrangler@latest
pnpm wrangler login          # browser-auth into the CF account

# Local dev (workerd)
pnpm wrangler dev --port 8787

# Remote dev (real Cloudflare)
pnpm wrangler dev --remote

# Deploy
pnpm wrangler deploy

# Tail production logs
pnpm wrangler tail

# Secrets — pulled from Doppler per secrets-management-doppler
doppler secrets download --no-file --format env | \
  while IFS='=' read -r k v; do
    echo "$v" | pnpm wrangler secret put "$k"
  done

Pinned major version per rules/always-latest-deps; upgraded by Dependabot per code-quality-five-tools.

Why this is our pick

Alternatives

Swap cost

High — Wrangler is tightly coupled to the Cloudflare Workers runtime + binding API. Swapping the CLI without swapping the runtime is impossible; swapping the runtime would mean abandoning Cloudflare Workers entirely (Vercel Edge / Deno Deploy / fly.io) which fights hono-worker-api-umbrella and the broader CF stack lock.

Configuration files

Cross-refs


Edit on GitHub · Back to index