# 使用 Homebrew, Nix 安装 cf-terraforming

查看 cf-terraforming 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

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

其他安装命令:

### macOS

- Homebrew (100%):

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

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

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

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

## 软件包事实

- **软件包键:** brew:cf-terraforming
- **软件包管理器:** Homebrew
- **版本:** 0.28.0
- **来源摘要:** CLI to facilitate terraforming your existing Cloudflare resources
- **主页:** <https://github.com/cloudflare/cf-terraforming>
- **仓库:** <https://github.com/cloudflare/cf-terraforming>
- **最后更新:** 2026-07-27T19:20:58+02:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- cf-terraforming (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 0.28.0
## 项目历史与用法

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.

### 项目历史

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.

### 采用历史

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.

### 使用方式

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.

### 为什么软件包爱好者会关心

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.

### 时间线

- 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.

### 来源

- <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>


## 安全说明

infrastructure mutation or orchestration signal.

- **Geiger 风险:** orange / 中
- 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
## 其他软件包管理器记录

- 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)


## 来源

- 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
