# 使用 Homebrew, Nix, scoop 安装 tf-summarize

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

## 安装

```sh
sudo av install brew:tf-summarize
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install tf-summarize
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#tf-summarize
```

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

### Windows

- Scoop (92%):

```sh
scoop install main/tf-summarize
```

  证据: Scoop official bucket manifest trees: bucket/tf-summarize.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:tf-summarize
- **软件包管理器:** Homebrew
- **版本:** 0.3.20
- **来源摘要:** CLI to print the summary of the terraform plan
- **主页:** <https://github.com/dineshba/tf-summarize>
- **仓库:** <https://github.com/dineshba/tf-summarize>
- **最后更新:** 2026-07-26T00:50:38+02:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- tf-summarize (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

tf-summarize is a Go command-line utility that prints compact summaries of Terraform plans. It turns plan files or JSON plan output into tables, trees, Markdown, HTML, or JSON summaries for humans reviewing infrastructure changes.

### 项目历史

The repository began in January 2022 with an initial table-format implementation and was quickly renamed from a state-focused name to a plan-focused tool. Early commits added tree output, color, file/stdin reading, and command-line flags.

The README frames the tool around the common problem that large Terraform plans obscure the few resource changes reviewers care about. It added installation paths for Go, Homebrew, asdf, Docker, GitHub Actions, release downloads, and source builds.

### 采用历史

The tag history starts with v0.0.1 in March 2022 and continues through a long v0.3 series into 2026. The input package facts also show availability through Homebrew, Nix, and Scoop, which is broad for a small Terraform companion utility.

### 使用方式

Typical usage is `terraform plan -out=tfplan` followed by `tf-summarize tfplan`, or `terraform show -json tfplan | tf-summarize`. CI examples include GitHub Actions, Codefresh, and workflows that post Terraform plan summaries to pull requests.

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

tf-summarize matters in package-manager niches because it is the sort of small, scriptable CLI that teams add to Terraform review pipelines. Its value is not managing infrastructure directly, but making package-installed automation easier to read in terminals and CI comments.

### 时间线

- 2022-01-13: Initial table-format commit
- 2022-01-18: Repository and file naming shifted from state to plan
- 2022-03-21: v0.0.1 tag
- 2023-04-29: v0.3.0 tag
- 2024-11-30: v0.3.14 tag
- 2026-03-04: v0.3.20 tag

### Related projects

- Terraform is the source of plan files and JSON input.
- setup-tf-summarize is documented as a GitHub Action setup path.
- asdf plugin support and Docker images are documented installation options.

### 来源

- Official git tags and commit history from https://github.com/dineshba/tf-summarize
- <https://github.com/dineshba/tf-summarize/blob/main/README.md>


## 安全说明

narrow executable package without higher-risk signals.

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

## 其他软件包管理器记录

- Nix - tf-summarize: normalized package name match | nixpkgs package indexes: pkgs/by-name/tf/tf-summarize/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Scoop - main/tf-summarize: normalized package name match | Scoop official bucket manifest trees: bucket/tf-summarize.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1


## Combined YAML source

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


## 来源

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