🛠️

Manage Cloudflare Feature Flags from Wrangler

Cloudflare added wrangler flagship, a command suite for creating Flagship apps, managing feature flags, running rollouts, splitting traffic, evaluating flags, and using CLI kill switches from local terminals or CI.

Jul 17, 2026
Status & Access
Current access and latest update details.
Access
Free
Updated
Jul 17, 2026, 12:17 PM

Cloudflare's new wrangler flagship commands give Worker teams a direct CLI path for feature-flag operations that previously pushed developers back into dashboards or custom API scripts.

Use it when you need to create Flagship apps, bind flags to a Worker project, define boolean/string/number/JSON variations, roll out a variation by percentage, split traffic, evaluate a flag for a targeting key, or disable a flag as a kill switch.

Practical checks before adopting it:

  • Update Wrangler and confirm Flagship is available for the account.
  • Use CLOUDFLARE_API_TOKEN in automation with the narrow Flagship read/write permissions Cloudflare documents.
  • Keep flag keys stable because application code evaluates by key.
  • Prefer --json output in scripts so CI jobs can capture app IDs and flag state safely.
  • Treat destructive commands carefully: deleting an app removes its flags and changelog history, and Cloudflare rejects deletion when a Worker still references the app through a Flagship binding.

This is a Tool, not a prompt: the value is the official CLI surface for release control, rollout automation, and agent-friendly deployment checks.

Discussion

Sign in to join the discussion and vote on comments.

No comments yet. Start the discussion.
Keep exploring

More from this topic

More in Tools & Apps