# 使用 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
- **软件包管理器页面:** <https://formulae.brew.sh/formula/tf-summarize>
- **版本:** 0.3.20
- **来源摘要:** CLI to print the summary of the terraform plan
- **主页:** <https://github.com/dineshba/tf-summarize>
- **仓库:** <https://github.com/dineshba/tf-summarize>
- **许可证:** MIT
- **源码归档:** <https://github.com/dineshba/tf-summarize/archive/refs/tags/v0.3.20.tar.gz>
- **最后更新:** 2026-07-26T00:50:38+02:00
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- tf-summarize (cli)
- tf-summarize (别名)

## 构建依赖

- go

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 0.3.20
- 管理器更新时间: 2026-07-26
- 本地数据: OK
- 上游仓库: https://github.com/dineshba/tf-summarize
- 检测到的最新版本: v0.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

## 源数据库详情

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

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

- 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


## 相关链接

- [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.
- [tfenv](https://pkg.so/zh-hans/brew/tfenv/) - Shares pkgdb curated category or tags: cli, developer-tools, infrastructure-as-code, terraform.
- [terraform-docs](https://pkg.so/zh-hans/brew/terraform-docs/) - Shares pkgdb curated category or tags: cli, developer-tools, infrastructure-as-code, terraform.
- [tfmigrate](https://pkg.so/zh-hans/brew/tfmigrate/) - Shares pkgdb curated category or tags: cli, developer-tools, infrastructure-as-code, terraform.
- [tfupdate](https://pkg.so/zh-hans/brew/tfupdate/) - Shares pkgdb curated category or tags: cli, developer-tools, infrastructure-as-code, terraform.
- [tfcmt](https://pkg.so/zh-hans/brew/tfcmt/) - Shares pkgdb curated category or tags: cli, developer-tools, github-actions, terraform.
- [iam-policy-json-to-terraform](https://pkg.so/zh-hans/brew/iam-policy-json-to-terraform/) - Shares pkgdb curated category or tags: cli, developer-tools, infrastructure-as-code, terraform.
- [tfschema](https://pkg.so/zh-hans/brew/tfschema/) - Shares pkgdb curated category or tags: cli, developer-tools, infrastructure-as-code, terraform.
- [tfstate-lookup](https://pkg.so/zh-hans/brew/tfstate-lookup/) - Shares pkgdb curated category or tags: cli, developer-tools, infrastructure-as-code, terraform.
- [tf-profile](https://pkg.so/zh-hans/brew/tf-profile/) - Package names and metadata indicate a similar tool family. Shared terms: cli, code, developer, developer-tools, infrastructure.
- [tfocus](https://pkg.so/zh-hans/brew/tfocus/) - Local package facts share a topical domain. Shared terms: cli, code, developer, developer-tools, infrastructure.
- [tfautomv](https://pkg.so/zh-hans/brew/tfautomv/) - Local package facts share a topical domain. Shared terms: cli, code, developer, developer-tools, infrastructure.

## 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
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
