# 使用 Homebrew 安装 tfcmt

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

## 安装

```sh
sudo av install brew:tfcmt
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install tfcmt
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:tfcmt
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/tfcmt>
- **版本:** 4.14.17
- **来源摘要:** Notify the execution result of terraform command
- **主页:** <https://suzuki-shunsuke.github.io/tfcmt/>
- **仓库:** <https://github.com/suzuki-shunsuke/tfcmt>
- **上游文档:** <https://suzuki-shunsuke.github.io/tfcmt/>
- **许可证:** MIT
- **源码归档:** <https://github.com/suzuki-shunsuke/tfcmt/archive/refs/tags/v4.14.17.tar.gz>
- **最后更新:** 2026-07-26T00:50:38+02:00
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- tfcmt (cli)
- tfcmt (别名)

## 构建依赖

- go

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 4.14.17
- 管理器更新时间: 2026-07-26
- 本地数据: OK
- 上游仓库: https://github.com/suzuki-shunsuke/tfcmt
- 检测到的最新版本: v4.14.17 (当前)
## 项目历史与用法

tfcmt is a Terraform CI comment tool that posts the results of `terraform plan` and `terraform apply` to GitHub pull requests. The official documentation describes it as a fork of Mercari's `tfnotify`, expanded for Terraform 0.15 and later and for more configurable formatting.

### 项目历史

The project grew out of the `tfnotify` lineage: the README and documentation identify `tfcmt` as a fork of `mercari/tfnotify` v0.7.0 and preserve the original Mercari MIT license notice for the inherited code. Its own documentation copyright begins in 2021, which matches its role as a post-Terraform-0.15 replacement for teams that had outgrown the original notifier.

The repository has a large commit history and a long release line, reflecting ongoing maintenance around Terraform output formatting, GitHub comment behavior, masking, Terragrunt support, GitHub Enterprise support, and related CI workflow details.

### 采用历史

The README includes a public 'Who uses tfcmt?' list naming organizations such as Recruit, Cybozu, READYFOR, CADDi, ZOZO, SAKURA internet, Unipos, HMCTS, LayerX, and others. That list is an unusually direct adoption signal for a Terraform niche tool.

Homebrew packages `tfcmt` as a formula, and the repository shows hundreds of GitHub stars. In package-manager terms, it is not a general Terraform frontend; it is a specialized CI companion used by teams that review infrastructure changes through pull requests.

### 使用方式

Typical use is in CI: run Terraform, let `tfcmt` parse the command output, render it through Go templates, update pull request labels, and post or patch a GitHub comment. The documentation emphasizes cleaner PR comment streams, hiding stale comments with `github-comment`, filtering noisy refresh output, and separating Terraform changes from non-Terraform output.

The tool is GitHub-focused. The README explicitly points GitLab users to `tfcmt-gitlab`, a separate fork.

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

For package-nerd catalogs, `tfcmt` is significant because it represents a second-generation Terraform notifier: a fork maintained specifically to keep pace with Terraform CLI changes and modern pull-request automation. It sits in the small but important class of tools that make infrastructure-as-code review readable without requiring developers to open CI logs.

Its value is operational rather than architectural: teams install it with Homebrew or other release tooling, wire it into GitHub Actions or another CI runner, and get stable, templated pull-request feedback for Terraform workflows.

### 时间线

- 2018: Original `tfnotify` code carried Mercari copyright and MIT licensing.
- 2021: Official tfcmt documentation copyright begins and documents the fork's Terraform 0.15+ motivation.
- 2026: GitHub repository page lists v4.14.15 as the latest release and shows more than one hundred releases.

### Related projects

- `mercari/tfnotify` is the upstream project from which `tfcmt` was forked.
- `tfcmt-gitlab` is the GitLab-oriented fork suggested by the `tfcmt` README.
- `github-comment` is documented as a companion tool for hiding stale comments.

### 来源

- <https://github.com/suzuki-shunsuke/tfcmt>
- <https://suzuki-shunsuke.github.io/tfcmt/>
- source_facts.package-manager.brew


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals


## 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: tfcmt.yaml, tfcmt.yml, .tfcmt.yaml, .tfcmt.yml
## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** tfcmt
- **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://pkg.so/zh-hans/cloud-clis/) - Belongs to a cloud or infrastructure command family.
- [Source-control packages](https://pkg.so/zh-hans/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/zh-hans/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [go](https://pkg.so/zh-hans/brew/go/) - Build dependency declared by Homebrew.
- [act](https://pkg.so/zh-hans/brew/act/) - Shares pkgdb curated category or tags: ci-cd, cli, developer-tools, github-actions.
- [dagger](https://pkg.so/zh-hans/brew/dagger/) - Shares pkgdb curated category or tags: automation, ci-cd, cli, developer-tools.
- [bitrise](https://pkg.so/zh-hans/brew/bitrise/) - Shares pkgdb curated category or tags: automation, ci-cd, cli, developer-tools.
- [tf-summarize](https://pkg.so/zh-hans/brew/tf-summarize/) - Shares pkgdb curated category or tags: cli, developer-tools, github-actions, terraform.
- [gitea-runner](https://pkg.so/zh-hans/brew/gitea-runner/) - Shares pkgdb curated category or tags: automation, ci-cd, cli, developer-tools.
- [jenkins-job-builder](https://pkg.so/zh-hans/brew/jenkins-job-builder/) - Shares pkgdb curated category or tags: automation, ci-cd, cli, developer-tools.
- [kubeone](https://pkg.so/zh-hans/brew/kubeone/) - Shares pkgdb curated category or tags: automation, cli, developer-tools, terraform.
- [gabo](https://pkg.so/zh-hans/brew/gabo/) - Shares pkgdb curated category or tags: ci-cd, cli, developer-tools, github-actions.
- [gama](https://pkg.so/zh-hans/brew/gama/) - Local package facts share a topical domain. Shared terms: actions, ci-cd, cli, developer, developer-tools.

## Combined YAML source

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


## 来源

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- cross-ecosystem install command graph
