# terraform-cleaner を Homebrew でインストール

terraform-cleaner のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:terraform-cleaner
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install terraform-cleaner
```

  証拠: local Homebrew formula metadata

## パッケージ情報

- **パッケージキー:** brew:terraform-cleaner
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/terraform-cleaner>
- **バージョン:** 0.0.4
- **ソース概要:** Tiny utility which detects unused variables in your terraform modules
- **ホームページ:** <https://github.com/sylwit/terraform-cleaner>
- **リポジトリ:** <https://github.com/sylwit/terraform-cleaner>
- **ライセンス:** MIT
- **ソースアーカイブ:** <https://github.com/sylwit/terraform-cleaner/archive/refs/tags/v0.0.4.tar.gz>
- **最終更新:** 2026-07-26T00:50:35+02:00
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

- terraform-cleaner (cli)
- terraform-cleaner (エイリアス)

## ビルド依存関係

- go

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 0.0.4
- マネージャ更新日: 2026-07-26
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/sylwit/terraform-cleaner
- 検出された最新: v0.0.4 (最新)
## プロジェクトの歴史と使われ方

terraform-cleaner is a small Go CLI for detecting unused variables in Terraform modules. Its public history is short and narrowly scoped, but official repository and release metadata are sufficient to describe it as a focused Terraform hygiene utility.

### プロジェクトの歴史

The repository was created in March 2023. Its README describes it as a tiny utility for finding unused variables in Terraform modules and points users to GitHub releases for platform binaries.

The complete release history is compact: v0.0.1 included the first working version and GoReleaser setup, v0.0.2 adjusted unused-flag display behavior, v0.0.3 added display of locals and unused locals, and v0.0.4 fixed help messages and added an asciinema demo to the README.

### 採用の歴史

The input package facts show Homebrew packaging, and the README documents binary downloads from the GitHub releases page. There is no official evidence of a large ecosystem around the tool; its adoption appears to be the usual package-manager exposure for a small Terraform developer utility.

### 使われ方

The README keeps usage deliberately minimal: download a platform binary from releases and run the tool against Terraform modules to find unused variables. It also documents pre-commit hook installation, suggesting use as part of a local Terraform cleanup workflow.

### パッケージ好きにとっての重要性

terraform-cleaner matters in the package-nerd niche as a small, single-purpose IaC linting helper. It is the kind of utility package maintainers include because it automates one annoying Terraform maintenance check without introducing a larger framework.

### タイムライン

- 2023: GitHub repository created.
- 2023: v0.0.1 released with the first working version and GoReleaser setup.
- 2023: v0.0.3 added display of locals and unused locals.
- 2023: v0.0.4 fixed help messages and updated the README with an asciinema demo.

### Related projects

- terraform-cleaner belongs to the Terraform linting and cleanup tool family, adjacent to Terraform module maintenance workflows and pre-commit usage.
- It is much narrower than TerraCognita: TerraCognita imports existing infrastructure into Terraform, while terraform-cleaner checks module source for unused variables.

### ソース

- <https://api.github.com/repos/sylwit/terraform-cleaner>
- <https://api.github.com/repos/sylwit/terraform-cleaner/releases?per_page=20>
- <https://github.com/sylwit/terraform-cleaner>
- <https://raw.githubusercontent.com/sylwit/terraform-cleaner/main/README.md>
- source_facts.package-manager


## セキュリティノート

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:** terraform-cleaner
- **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


## 関連リンク

- [Cloud CLI packages](https://pkg.so/ja/cloud-clis/) - Belongs to a cloud or infrastructure command family.
- [Source-control packages](https://pkg.so/ja/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/ja/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://pkg.so/ja/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [go](https://pkg.so/ja/brew/go/) - Build dependency declared by Homebrew.
- [terraformer](https://pkg.so/ja/brew/terraformer/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, infrastructure-as-code, terraform.
- [terraform-local](https://pkg.so/ja/brew/terraform-local/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, infrastructure-as-code, terraform.
- [cdktf](https://pkg.so/ja/brew/cdktf/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, infrastructure-as-code, terraform.
- [cf-terraforming](https://pkg.so/ja/brew/cf-terraforming/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, infrastructure-as-code, terraform.
- [cf2tf](https://pkg.so/ja/brew/cf2tf/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, infrastructure-as-code, terraform.
- [pug](https://pkg.so/ja/brew/pug/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, infrastructure-as-code, terraform.
- [terracognita](https://pkg.so/ja/brew/terracognita/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, infrastructure-as-code, terraform.
- [awsweeper](https://pkg.so/ja/brew/awsweeper/) - Shares pkgdb curated category or tags: cleanup, cli, cloud-infrastructure, terraform.
- [terraform-graph-beautifier](https://pkg.so/ja/brew/terraform-graph-beautifier/) - Package names and metadata indicate a similar tool family. Shared terms: cli, cloud, cloud-infrastructure, code, infrastructure.
- [terraform-provider-libvirt](https://pkg.so/ja/brew/terraform-provider-libvirt/) - Package names and metadata indicate a similar tool family. Shared terms: cli, cloud, cloud-infrastructure, infrastructure, terraform.

## Combined YAML source

View the package source record on GitHub. [combined/terraform-cleaner.yml](https://github.com/mxcl/pkgdb/blob/main/combined/terraform-cleaner.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
- cross-ecosystem install command graph
