Manage Cloudflare DNS, tokens, Workers, R2, and local profiles from one practical terminal tool.

cf-cli is built for day-to-day Cloudflare work: fast DNS changes, scoped token minting, Workers log access, R2 helpers, multi-account profiles, Wrangler auth snapshots, and a doctor command that explains what your machine is actually using.

It is intentionally operational. You keep account context explicit, avoid dashboard guessing, and leave behind commands that are easy to audit later.

A small CLI for the Cloudflare tasks that interrupt shipping.

Cloudflare work often starts as a quick DNS change and turns into account switching, token scoping, dashboard searching, or log hunting. cf-cli gathers those practical operations into a profile-aware command surface.

DNS edits without dashboard drift

Read, set, update, and delete common Cloudflare records from one explicit terminal workflow.

Profile-aware by default

Keep personal, client, and production Cloudflare accounts separate with profile-scoped credentials and local state.

Operational shortcuts

Mint API tokens, inspect Workers, read persisted logs, prepare R2 log buckets, and diagnose environment setup quickly.

Wrangler account control

Snapshot and switch local Wrangler auth state without confusing it with API-token based Cloudflare profiles.

Engineers who want Cloudflare changes to be repeatable, visible, and profile-safe.

Point a new domain at a Vercel, Fly, Render, or custom deployment from the same shell where you are shipping code.

Create scoped Cloudflare API tokens for automation instead of reusing broad dashboard credentials.

Check Workers and recent persisted logs when debugging production behavior from a terminal session.

Keep multiple Cloudflare accounts reachable without rewriting env vars or losing track of local Wrangler auth.

One binary, several focused Cloudflare workflows.

DNS

Helpers for A, AAAA, CNAME, TXT, MX, list, get, update, and delete operations.

Tokens

Mint scoped API tokens and search Cloudflare permission groups from the terminal.

Workers and R2

Inspect Workers, read persisted logs, enable logging, create R2 buckets, and mint bucket credentials.

Profiles and Wrangler

Keep API profiles explicit and manage local Wrangler account snapshots separately.

Start with installation, then move into the Cloudflare workflows you use most.

The docs are organized around the way the CLI is used: setup first, then DNS, token, Workers, R2, Wrangler, and reference material.

Use cf-cli when the next Cloudflare task should be a command you can repeat, review, and understand later.