Cloudflare Launches `cf` CLI and Open-Sources Forge SDK Generator

Cloudflare·28 Sept 2026·2 min read

#cloudflare

Cloudflare has announced the release of cf, a new command-line tool designed to mirror the entire Cloudflare API. According to the company, cf supports programmatic TypeScript configuration, enabling developers to manage Cloudflare resources directly from the terminal or through typed configuration files. In addition, Cloudflare is open-sourcing Forge, its internal SDK generator, which was used to build cf and other SDKs.

The key changes in this release are:

  • cf CLI: A command-line tool that provides full coverage of the Cloudflare API, allowing developers to interact with all Cloudflare services from the terminal.
  • TypeScript configuration: cf supports defining infrastructure and settings programmatically using TypeScript, bringing type safety and autocompletion to CLI workflows.
  • Open-source Forge: Cloudflare's internal SDK generator, Forge, is now available as open source. Forge was used to generate cf and other Cloudflare SDKs, and can be used by developers to generate their own SDKs from API specifications.
  • Entire API mirror: cf is designed to stay in sync with the Cloudflare API, ensuring that new features and endpoints are available as soon as they are added.

For developers, this means greater flexibility and automation in managing Cloudflare services. The cf CLI reduces the need for manual API calls or custom scripts, while TypeScript support enables better integration with existing development workflows and CI/CD pipelines. The open-sourcing of Forge provides transparency and allows the community to leverage Cloudflare's SDK generation technology for their own projects. This release underscores Cloudflare's commitment to developer experience and API-first tooling.

Source: https://blog.cloudflare.com/cloudflare-cf-cli-launch/

Related

auto-curated · source linked above← all news