# Install cf-terraforming with Homebrew, Nix

CLI to facilitate terraforming your existing Cloudflare resources. Version 0.27.0 via Homebrew; verified 2026-05-27.

## Install

```sh
sudo av install brew:cf-terraforming
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install cf-terraforming
```

  Evidence: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#cf-terraforming
```

  Evidence: nixpkgs package indexes: pkgs/by-name/cf/cf-terraforming/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## Package facts

- **Package key:** brew:cf-terraforming
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/cf-terraforming>
- **Version:** 0.27.0
- **Source summary:** CLI to facilitate terraforming your existing Cloudflare resources
- **Homepage:** <https://github.com/cloudflare/cf-terraforming>
- **Repository:** <https://github.com/cloudflare/cf-terraforming>
- **Upstream docs:** <https://developers.cloudflare.com/terraform/advanced-topics/import-cloudflare-resources>
- **License:** MPL-2.0
- **Source archive:** <https://github.com/cloudflare/cf-terraforming/archive/refs/tags/v0.27.0.tar.gz>
- **Last updated:** 2026-05-27T00:14:45Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- cf-terraforming (cli)
- cf-terraforming (alias)

## Build dependencies

- go

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 0.27.0
- Package-manager updated: 2026-05-27
- Local data: ok
- Upstream repository: https://github.com/cloudflare/cf-terraforming
- Upstream latest detected: v0.27.0 (current)
## Project history and usage

cf-terraforming is Cloudflare's CLI for turning existing Cloudflare resources into Terraform configuration and import commands. The README explains that it uses Cloudflare account credentials to retrieve configuration through the Cloudflare API and convert it for the Terraform Cloudflare provider.

### Project history

Cloudflare's public repository was created in 2018. The README links Cloudflare's announcement of its HashiCorp partnership and cf-terraforming bootstrap workflow, and the 2026 Homebrew formula packages v0.27.0.

### Adoption history

The official Cloudflare docs tell macOS users to install it through the cloudflare/cloudflare Homebrew tap and other users to download a GitHub release. The supplied package facts also list Homebrew and Nix packaging.

### How it is used

cf-terraforming is aimed at existing Cloudflare customers who want to start managing already-created resources with Terraform. It can generate HCL for supported Cloudflare resource types and emit Terraform import commands or Terraform 1.5+ import blocks, using account or zone identifiers and API token or API key authentication.

### Why package nerds care

The package is significant because it bridges click-managed SaaS infrastructure and declarative IaC. For packagers, it is a vendor-owned Go CLI with real operational demand: it helps users migrate state into Terraform instead of manually writing large Cloudflare configurations.

### Timeline

- 2018: Public GitHub repository created.
- 2025: v0.23.x and v0.24.0 releases published.
- 2026: v0.25.0, v0.26.0, and v0.27.0 releases published.

### Related projects

- The README and Cloudflare docs tie cf-terraforming to the Terraform Cloudflare provider, the Cloudflare API, terraform-exec, Terraform state import, and CDKTF conversion workflows.

### Sources

- <https://api.github.com/repos/cloudflare/cf-terraforming>
- <https://github.com/cloudflare/cf-terraforming>
- <https://developers.cloudflare.com/terraform/advanced-topics/import-cloudflare-resources>
- <https://github.com/cloudflare/cf-terraforming#readme>
- <https://formulae.brew.sh/api/formula/cf-terraforming.json>


## Security Notes

infrastructure mutation or orchestration signal.

- **Geiger risk:** orange / medium
- infrastructure mutation or orchestration signal


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: ~/.cf-terraforming.yaml

## Credential files

- Unix: ~/.cf-terraforming.yaml
## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** cf-terraforming
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## Other Package-Manager Records

- Nix - cf-terraforming: normalized package name match | nixpkgs package indexes: pkgs/by-name/cf/cf-terraforming/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## Related links

- [Cloud CLI packages](https://www.automicvault.com/pkg/cloud-clis/) - Belongs to a cloud or infrastructure command family.
- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://www.automicvault.com/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [go](https://www.automicvault.com/pkg/brew/go/) - Build dependency declared by Homebrew.
- [terracognita](https://www.automicvault.com/pkg/brew/terracognita/) - Shares av.db curated category or tags: cli, cloud-infrastructure, import, infrastructure-as-code, terraform.
- [cdktf](https://www.automicvault.com/pkg/brew/cdktf/) - Shares av.db curated category or tags: cli, cloud-infrastructure, infrastructure-as-code, terraform.
- [cf2tf](https://www.automicvault.com/pkg/brew/cf2tf/) - Shares av.db curated category or tags: cli, cloud-infrastructure, infrastructure-as-code, terraform.
- [pug](https://www.automicvault.com/pkg/brew/pug/) - Shares av.db curated category or tags: cli, cloud-infrastructure, infrastructure-as-code, terraform.
- [terraform-cleaner](https://www.automicvault.com/pkg/brew/terraform-cleaner/) - Shares av.db curated category or tags: cli, cloud-infrastructure, infrastructure-as-code, terraform.
- [terraform-graph-beautifier](https://www.automicvault.com/pkg/brew/terraform-graph-beautifier/) - Shares av.db curated category or tags: cli, cloud-infrastructure, infrastructure-as-code, terraform.
- [cloudflare-cli4](https://www.automicvault.com/pkg/brew/cloudflare-cli4/) - Shares av.db curated category or tags: cli, cloud-infrastructure, cloudflare.
- [flarectl](https://www.automicvault.com/pkg/brew/flarectl/) - Shares av.db curated category or tags: cli, cloud-infrastructure, cloudflare.
- [terraformer](https://www.automicvault.com/pkg/brew/terraformer/) - Local package facts share a topical domain. Shared terms: cli, cloud, cloud-infrastructure, code, existing.

## Combined YAML source

View the package source record on GitHub. [combined/cf-terraforming.yml](https://github.com/automic-vault/db/blob/main/combined/cf-terraforming.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
