November 2, 2026 · Cloudflare
Flagship - Evaluate Flagship flags locally
Flagship bindings now evaluate flags against a local flag store during local development, instead of calling your remote app. You can develop offline and test flag changes without affecting production. This applies to wrangler dev, the Cloudflare Vite plugin, the Vitest integration, and cf dev.
The local store starts empty, so evaluations return the default value you pass in code. Add and manage local flags in any of these ways:
- Wrangler — Add
--localtowrangler flagship flagscommands, such ascreate,update, andevaluate. To copy all flags from your remote app, runnpx wrangler flagship flags pull <APP_ID>. - Local Explorer — Create, edit, toggle, and evaluate flags in Local Explorer while your dev server runs.
cfCLI — Add--localtocf flagshipcommands.
To keep evaluating against your remote app instead, set remote: true on the binding.
The local flag store requires Wrangler v4.135.0 or @cloudflare/vite-plugin v1.56.0 or later. Flagship in Local Explorer requires Wrangler v4.148.0 or @cloudflare/vite-plugin v1.63.0 or later.
Refer to Flagship local development for details.