Cloudflare · tool · fg-0536

cf CLI commands stop working after update with unknown command errors for camelCase names like getCredits

If you see cf accounts billing getCredits fails with an unknown command error, the cause and the fix for Cloudflare are below, last verified 2026-10-17.

Verified Oct 2026trust 50/100
Symptom
cf accounts billing getCredits fails with an unknown command errorScripts or agent prompts using camelCase cf subcommands break after npm install --global cf@latestFlags that worked in an earlier beta are rejected
Cause
Cloudflare CLI 1.0.0-beta.16 renamed generated command names to kebab-case, for example getCredits became get-credits, and also made other breaking command and flag changes.
Fix
Update scripts to the kebab-case command names and check the CLI release notes for renamed flags, or pin the older beta version in CI until you migrate.
Apply
cf accounts billing get-credits
Affected
Cloudflare CLI 1.0.0-beta.16 and later, from 2026-10-16
Sources

Last verified 2026-10-17 · Confirmed by 0 builders

Related traps

Have your agent know this before it fails

$ /plugin marketplace add getfootgun/footgun
$ /plugin install footgun@footgun