# 使用 Homebrew 安装 cfnctl

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

## 安装

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

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install cfnctl
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:cfnctl
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/cfnctl>
- **版本:** 0.1.1
- **来源摘要:** Brings the Terraform cli experience to AWS Cloudformation
- **主页:** <https://github.com/rogerwelin/cfnctl>
- **仓库:** <https://github.com/rogerwelin/cfnctl>
- **上游文档:** <https://github.com/rogerwelin/cfnctl#readme>
- **许可证:** Apache-2.0
- **源码归档:** <https://github.com/rogerwelin/cfnctl/archive/refs/tags/v0.1.1.tar.gz>
- **已生成:** 2026-07-08T07:18:31+00:00

## 可执行文件

- cfnctl (cli)
- cfnctl (别名)

## 构建依赖

- go

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 0.1.1
- 本地数据: OK
- 上游仓库: https://github.com/rogerwelin/cfnctl
- 检测到的最新版本: v0.1.1 (当前)
- 信息: No package-manager update timestamp was available.
## 项目历史与用法

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

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** cfnctl
- **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


## 相关链接

- [Cloud CLI packages](https://www.automicvault.com/zh-hans/pkg/cloud-clis/) - Belongs to a cloud or infrastructure command family.
- [Source-control packages](https://www.automicvault.com/zh-hans/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://www.automicvault.com/zh-hans/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [go](https://www.automicvault.com/zh-hans/pkg/brew/go/) - Build dependency declared by Homebrew.
- [cfn-format](https://www.automicvault.com/zh-hans/pkg/brew/cfn-format/) - Shares av.db curated category or tags: aws, cli, cloud-infrastructure, cloudformation, infrastructure-as-code.
- [cfv](https://www.automicvault.com/zh-hans/pkg/brew/cfv/) - Shares av.db curated category or tags: aws, cli, cloud-infrastructure, cloudformation, infrastructure-as-code.
- [cfn-flip](https://www.automicvault.com/zh-hans/pkg/brew/cfn-flip/) - Shares av.db curated category or tags: aws, cli, cloud-infrastructure, cloudformation.
- [cloudformation-cli](https://www.automicvault.com/zh-hans/pkg/brew/cloudformation-cli/) - Shares av.db curated category or tags: aws, cli, cloud-infrastructure, cloudformation, infrastructure-as-code.
- [eksctl](https://www.automicvault.com/zh-hans/pkg/brew/eksctl/) - Shares av.db curated category or tags: aws, cli, cloud-infrastructure, cloudformation.
- [basti](https://www.automicvault.com/zh-hans/pkg/brew/basti/) - Shares av.db curated category or tags: aws, cli, cloud-infrastructure.
- [cf2tf](https://www.automicvault.com/zh-hans/pkg/brew/cf2tf/) - Shares av.db curated category or tags: aws, cli, cloud-infrastructure, cloudformation, infrastructure-as-code.
- [e1s](https://www.automicvault.com/zh-hans/pkg/brew/e1s/) - Shares av.db curated category or tags: aws, cli, cloud-infrastructure.

## Combined YAML source

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


## 来源

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- cross-ecosystem install command graph
