Cloudflare cf CLI
by Cloudflare
Official listing: built and published by Cloudflare. More from Cloudflare
Gives coding agents one CLI over the public Cloudflare API and Workers projects, with JSON output by default, local command search, and typed cloudflare.config.ts files.
Use it now
Keep it with up to 9 other tools you're setting up, then share them all as one link.
Try this first
Ask your coding agent:
- Command Search
Use Cloudflare cf CLI to find the right command for a plain-language task: ‹what you're looking for›
- Request Schema Inspection
Use Cloudflare cf CLI to show the API request a generated command sends: ‹what you need›
- Wrangler Migration
Use Cloudflare cf CLI to convert a Wrangler project to a typed cloudflare.config.ts: ‹what you need›
Install the CLI
npm install --global cf
Setup guide: developers.cloudflare.com/cf/get-started
Compare
Press Compare to add it to the tray at the bottom of the window, then pick up to 2 others anywhere on the site.
- Access
- CLI
- Auth
- OAuth 2.0
- Skills
- 4
Skills
Command Search
Finds the right command for a plain-language task with cf cli search, which runs locally without credentials and returns JSON matches.
Request Schema Inspection
Shows the API request a generated command sends with cf schema, then previews it with --dry-run before the agent runs it for real.
Wrangler Migration
Converts a Wrangler project to a typed cloudflare.config.ts with cf migrate, delegating builds to Wrangler where esbuild is still needed.
Workers Project Deploys
Creates, runs, builds, and deploys Workers projects with cf init, cf dev, cf build, and cf deploy, including prebuilt deploys from CI.