# 使用 Homebrew 安装 tf-profile

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

## 安装

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

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install tf-profile
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:tf-profile
- **软件包管理器:** Homebrew
- **版本:** 0.5.0
- **来源摘要:** CLI tool to profile Terraform runs
- **主页:** <https://github.com/datarootsio/tf-profile>
- **仓库:** <https://github.com/datarootsio/tf-profile>
- **最后更新:** 2026-07-26T00:50:38+02:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- tf-profile (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

tf-profile is a Go command-line profiler for Terraform runs. It reads Terraform logs from standard input or files and summarizes resource-level timing, aggregate run statistics, filters, and Gantt-like visualizations.

### 项目历史

The public repository began in March 2023 with commits for stdin reading, Terraform log parsing, and tabular output. The README describes a Cobra-based CLI that can generate global stats, resource-level stats, filters, and visualizations.

The project reached v0.5.0 in October 2024. Its README now warns that it is no longer actively developed and that no new features or support for newer Terraform versions are intended.

### 采用历史

The README lists Homebrew, binary releases, Docker, and source builds as installation paths, and says the project was featured on awesome-go and awesome-terraform. That places it in the small-tool Terraform ecosystem where engineers install focused CLIs around the core `terraform` binary.

### 使用方式

The intended workflow is to pipe `terraform apply` output to `tf-profile` or save logs and analyze them later. Users can ask for high-level stats, per-resource tables, filtered logs, or a gnuplot script for a run visualization.

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

For package nerds, tf-profile is a single-purpose Terraform companion CLI: useful when installed through Homebrew or Docker, but also a cautionary package because the upstream README explicitly marks active development as ended.

### 时间线

- 2023-03-06: Initial commit
- 2023-04-16: release/0.0.1 tag
- 2023-07-16: v0.4.0 tag
- 2024-10-23: v0.5.0 tag
- 2026: README states the project is no longer actively developed

### Related projects

- Terraform supplies the logs that tf-profile parses.
- Cobra is used for the modern CLI structure.
- Gnuplot is used to render graph output generated by tf-profile.

### 来源

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


## 安全说明

narrow executable package without higher-risk signals.

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


## Combined YAML source

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


## 来源

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