# tfschema を Homebrew でインストール

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

## インストール

```sh
sudo av install brew:tfschema
```

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

### macOS

- Homebrew (100%):

```sh
brew install tfschema
```

  証拠: local Homebrew formula metadata

## パッケージ情報

- **パッケージキー:** brew:tfschema
- **パッケージマネージャ:** Homebrew
- **バージョン:** 0.7.10
- **ソース概要:** Schema inspector for Terraform/OpenTofu providers
- **ホームページ:** <https://github.com/minamijoyo/tfschema>
- **リポジトリ:** <https://github.com/minamijoyo/tfschema>
- **最終更新:** 2026-07-26T00:50:39+02:00
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- tfschema (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 0.7.10
## プロジェクトの歴史と使われ方

tfschema is a schema inspector for Terraform and OpenTofu providers. It uses provider binaries and the plugin protocol to list resource types, show resource schemas, generate shell autocomplete data, and open provider documentation.

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

The project predates OpenTofu support but now documents both Terraform v1.x and OpenTofu v1.6+ support. Its README emphasizes dynamic inspection of installed provider binaries rather than static registry scraping.

The README devotes substantial space to provider-binary discovery. tfschema searches the working directory, vendored plugin directories, modern and legacy `.terraform` plugin layouts, global plugin directories, and GOPATH, reflecting Terraform's changing provider installation layout across versions.

### 採用の歴史

tfschema has the broadest Homebrew usage in this batch, though still niche in absolute terms. Homebrew formula metadata lists stable version 0.7.10 and higher install counts than the other Terraform helper tools here, matching its usefulness for both module authors and provider investigators.

### 使われ方

A typical workflow installs tfschema, initializes a Terraform project so provider binaries are present, and then runs commands such as `tfschema resource list aws` or `tfschema resource show aws_iam_user`. Users can set `TFSCHEMA_ROOT_DIR` to point discovery at a different Terraform working directory.

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

For package-manager users, tfschema is significant because it exposes provider schemas without requiring a full Terraform plan or hand-reading provider docs. It is especially useful when comparing provider versions, exploring unfamiliar resources, or scripting schema inspection from a locally installed CLI.

### タイムライン

- 2024: GitHub tags list v0.7.8 in January and v0.7.9 in August.
- 2026: GitHub tags and Homebrew formula metadata list v0.7.10 in May.
- 2026: Homebrew formula metadata lists stable version 0.7.10 with bottled builds.

### Related projects

- Terraform CLI
- OpenTofu
- Terraform provider plugin protocol
- Terraform Registry provider documentation

### ソース

- <https://formulae.brew.sh/api/formula/tfschema.json>
- <https://github.com/minamijoyo/tfschema#readme>
- <https://github.com/minamijoyo/tfschema/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/tfschema.yml](https://github.com/mxcl/pkgdb/blob/main/combined/tfschema.yml)


## ソース

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