# Install cf-terraforming with Homebrew, Nix

CLI to facilitate terraforming your existing Cloudflare resources. Version 0.28.0 via Homebrew; verified 2026-07-27. Also installable with nix: nix profile install nixpkgs#cf-terraforming.

## 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
- **Version:** 0.28.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>
- **Last updated:** 2026-07-27T19:20:58+02:00
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- cf-terraforming (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 0.28.0
## 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
## 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


## Combined YAML source

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


## Sources

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
