# 使用 Homebrew 安装 tfocus

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

## 安装

```sh
sudo av install brew:tfocus
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install tfocus
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:tfocus
- **软件包管理器:** Homebrew
- **版本:** 0.1.5
- **来源摘要:** Tool for selecting and executing terraform plan/apply on specific resources
- **主页:** <https://github.com/nwiizo/tfocus>
- **仓库:** <https://github.com/nwiizo/tfocus>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- tfocus (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

tfocus is a Rust CLI and terminal UI for interactively selecting Terraform resources and running targeted plan/apply workflows. Its README repeatedly warns that resource targeting should be an emergency or debugging technique, not a normal Terraform operating model.

### 项目历史

The project presents itself as a focused helper for large Terraform codebases where full plans can be slow or where a user needs to inspect specific resources. Its Cargo metadata names the project, repository, documentation, and command-line utility category around Terraform and OpenTofu workflows.

### 采用历史

tfocus has niche adoption. GitHub tags show early 0.1.x releases in late 2024 and January 2025, while Homebrew metadata lists stable version 0.1.5 with small install counts.

### 使用方式

Users run tfocus inside a Terraform project. The README describes a fuzzy-search interface, vim-like keybindings, recursive file scanning, and a selection flow that executes Terraform plan/apply for chosen resources.

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

For package-nerd audiences, tfocus is notable as a packaged Rust TUI around Terraform's controversial targeting feature. It is useful as a discoverable Homebrew/crates.io-style utility, but its own documentation makes clear that the workflow is intentionally exceptional.

### 时间线

- 2024: GitHub tags list v0.1.1, v0.1.2, and v0.1.3 in December.
- 2025: GitHub tags list v0.1.5 in January; Cargo.toml lists version 0.1.5.
- 2026: Homebrew formula metadata lists stable version 0.1.5 with bottled builds.

### Related projects

- Terraform CLI
- OpenTofu
- crossterm
- fuzzy-matcher

### 来源

- <https://formulae.brew.sh/api/formula/tfocus.json>
- <https://github.com/nwiizo/tfocus#readme>
- <https://github.com/nwiizo/tfocus/blob/main/Cargo.toml>
- <https://github.com/nwiizo/tfocus/tags>


## 安全说明

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/tfocus.yml](https://github.com/mxcl/pkgdb/blob/main/combined/tfocus.yml)


## 来源

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