# Install tfocus with Homebrew

Tool for selecting and executing terraform plan/apply on specific resources. Version 0.1.5 via Homebrew; verified from local package data.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install tfocus
```

  Evidence: local Homebrew formula metadata

## Package facts

- **Package key:** brew:tfocus
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/tfocus>
- **Version:** 0.1.5
- **Source summary:** Tool for selecting and executing terraform plan/apply on specific resources
- **Homepage:** <https://github.com/nwiizo/tfocus>
- **Repository:** <https://github.com/nwiizo/tfocus>
- **Upstream docs:** <https://github.com/nwiizo/tfocus#readme>
- **License:** MIT
- **Source archive:** <https://github.com/nwiizo/tfocus/archive/refs/tags/v0.1.5.tar.gz>
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- tfocus (cli)
- tfocus (alias)

## Build dependencies

- rust

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 0.1.5
- Local data: ok
- Upstream repository: https://github.com/nwiizo/tfocus
- Upstream latest detected: v0.1.5 (current)
- info: No package-manager update timestamp was available.
## Project history and usage

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.

### Project history

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.

### Adoption history

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.

### How it is used

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.

### Why package nerds care

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.

### Timeline

- 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

### Sources

- <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>


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Source Database Details

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


## Related links

- [Cloud CLI packages](https://www.automicvault.com/pkg/cloud-clis/) - Belongs to a cloud or infrastructure command family.
- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [rust](https://www.automicvault.com/pkg/brew/rust/) - Build dependency declared by Homebrew.
- [tfenv](https://www.automicvault.com/pkg/brew/tfenv/) - Shares av.db curated category or tags: cli, developer-tools, infrastructure, infrastructure-as-code, terraform.
- [tfmcp](https://www.automicvault.com/pkg/brew/tfmcp/) - Shares av.db curated category or tags: cli, developer-tools, infrastructure, infrastructure-as-code, terraform.
- [tfmigrate](https://www.automicvault.com/pkg/brew/tfmigrate/) - Shares av.db curated category or tags: cli, developer-tools, infrastructure, infrastructure-as-code, terraform.
- [tfmv](https://www.automicvault.com/pkg/brew/tfmv/) - Shares av.db curated category or tags: cli, developer-tools, infrastructure, infrastructure-as-code, terraform.
- [tfplugingen-openapi](https://www.automicvault.com/pkg/brew/tfplugingen-openapi/) - Shares av.db curated category or tags: cli, developer-tools, infrastructure, infrastructure-as-code, terraform.
- [tfproviderlint](https://www.automicvault.com/pkg/brew/tfproviderlint/) - Shares av.db curated category or tags: cli, developer-tools, infrastructure, infrastructure-as-code, terraform.
- [tfk8s](https://www.automicvault.com/pkg/brew/tfk8s/) - Shares av.db curated category or tags: cli, developer-tools, infrastructure, terraform.
- [ecflow-ui](https://www.automicvault.com/pkg/brew/ecflow-ui/) - Shares av.db curated category or tags: cli, developer-tools, workflow.

## Combined YAML source

View the package source record on GitHub. [combined/tfocus.yml](https://github.com/automic-vault/db/blob/main/combined/tfocus.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- cross-ecosystem install command graph
