
Cloudflare introduces unified Wrangler CLI and adds local explorer for developers
Cloudflare has begun rebuilding the Wrangler CLI to serve as a unified command-line interface for all its products. The new tool enables users to issue commands and configure resources from different Cloudflare services using infrastructure-as-code principles. Developers can preview the new cf CLI now by running npx cf or installing it globally via npm install -g cf.
While the technical preview currently supports only a subset of Cloudflare products, a full API implementation is in testing. Cloudflare plans to extend future versions to cover the entire API surface with outputs designed to be ergonomic for humans and agents alike. These enhancements are made possible by a TypeScript schema framework that underpins the new CLI, allowing consistent definition for commands, arguments, and interfaces, and the generation of OpenAPI schemas.
In addition, Wrangler CLI accommodates both simulated local resources and remote Cloudflare service configurations, including D1 databases, R2 storage, and KV namespaces. Following this, Cloudflare has introduced Local Explorer in open beta across Wrangler and the Cloudflare Vite plugin. Local Explorer provides a local interface for developers to inspect which resources and bindings a Worker uses, as well as the data currently stored, streamlining local development and debugging.