# 使用 Homebrew 安装 cfnctl

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

## 安装

```sh
sudo av install brew:cfnctl
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install cfnctl
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:cfnctl
- **软件包管理器:** Homebrew
- **版本:** 0.1.1
- **来源摘要:** Brings the Terraform cli experience to AWS Cloudformation
- **主页:** <https://github.com/rogerwelin/cfnctl>
- **仓库:** <https://github.com/rogerwelin/cfnctl>
- **最后更新:** 2026-07-27T19:20:58+02:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- cfnctl (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

cfnctl is a Go command-line tool that brings a Terraform-like workflow to AWS CloudFormation. Its README presents familiar commands such as apply, plan, destroy, output, and validate for users who still need to manage CloudFormation stacks.

### 项目历史

The official repository was created in September 2021 and frames the tool around a specific workflow problem: teams that like Terraform's CLI experience but are required to use CloudFormation. The README describes the project as early in development and explicitly lists missing features such as large-template S3 upload and drift detection.

The first public GitHub releases in March 2023 were v0.1.0 and v0.1.1. The README continues to invite feature requests and pull requests and notes planned terminal UI work around the Charm stack.

### 采用历史

cfnctl is a niche infrastructure tool rather than a broad AWS standard utility. Official distribution is through GitHub releases, and the package metadata in this batch shows it packaged in Homebrew.

Its adoption story is best read as package-manager convenience for CloudFormation-heavy users who want plan/apply style stack operations without switching their template language.

### 使用方式

The documented commands are apply, plan, destroy, output, validate, and version. The README example uses `cfnctl apply --template-file mycfntmpl.yaml --auto-approve`.

Because the official README does not document a persistent application config file or credentials file, those locations are left null. AWS credential handling may be inherited from the AWS SDK or environment, but that is not named in the project documentation used here.

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

cfnctl is interesting to package people because it is a small single-purpose CLI that imports the workflow vocabulary of one infrastructure tool into another ecosystem. That kind of tool often lives or dies by whether it is easy to install as a binary.

The Homebrew formula matters here: it turns a GitHub-release-only CloudFormation helper into a one-command install for macOS operators.

### 时间线

- 2021: The rogerwelin/cfnctl repository is created on GitHub.
- 2023: v0.1.0 and v0.1.1 are published as GitHub releases.
- 2026: The README still describes planned improvements and early-development gaps.

### Related projects

- AWS CloudFormation is the stack system cfnctl operates against.
- Terraform is the workflow model named directly by the README.
- Charm's Bubble Tea, Lip Gloss, and Huh are listed in the README as planned terminal UI migration targets.

### 来源

- <https://api.github.com/repos/rogerwelin/cfnctl>
- <https://github.com/rogerwelin/cfnctl>
- <https://github.com/rogerwelin/cfnctl#readme>
- <https://formulae.brew.sh/api/formula/cfnctl.json>
- <https://api.github.com/repos/rogerwelin/cfnctl/releases>


## 安全说明

infrastructure mutation or orchestration signal.

- **Geiger 风险:** orange / 中
- infrastructure mutation or orchestration signal


## Combined YAML source

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


## 来源

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- cross-ecosystem install command graph
