Loading...
Loading...
Cloudflare's official cf CLI (beta) for the public Cloudflare API and Workers projects. Use for finding and running Cloudflare commands from the terminal — sign-in and profiles, cf cli search, cf schema, cf deploy/dev/build, resource commands for DNS, zones, D1, KV, and R2 — and for choosing between cf and Wrangler in a project.
npx skill4agent add cloudflare/skills cf-clicfcfcf cli searchcf schema--help--dry-runnpm install --global cf # installs two equivalent commands: `cf` and `cloudflare`
cf --version
cf auth whoamicfPATHcloudflarecf auth login--no-browsercf--forcecfcf auth loginCLOUDFLARE_API_TOKENcfAGENTS.mdCLAUDE.mdWhen interacting with Cloudflare, use the `cf` CLI unless the project has a
Wrangler configuration file.cf cli search "create a DNS record" # local, no credentials; quote the whole task; up to 5 JSON matches
cf schema d1 create # API request shape: method, path, params, body fields
cf <command> --help # arguments and options (e.g. cf deploy --help)cf cli searchcf schema--helpjq--help--dry-run--forceAborted.0--force--forcecf workers delete --force--localcf d1 rawcf d1 migrations list|applycf d1 querycloudflare.config.tscfwrangler.jsoncwrangler.jsonwrangler.tomlcloudflare.config.tsdevbuilddeploycf devcf buildcf deploycfcf migratecf migrate --dry-runcf migrateTODO(@cloudflare)cloudflare.config.tscfcf cli searchcfcfcfnpx wranglercloudflare.config.tsnpx wrangler tail <WORKER_NAME>npx wrangler secret put <SECRET_NAME> --name <WORKER_NAME>--secrets-file <PATH>cf deploycf workers versions create