# Install tfschema with Homebrew

Schema inspector for Terraform/OpenTofu providers. Version 0.7.10 via Homebrew; verified 2026-05-04.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install tfschema
```

  Evidence: local Homebrew formula metadata

## Package facts

- **Package key:** brew:tfschema
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/tfschema>
- **Version:** 0.7.10
- **Source summary:** Schema inspector for Terraform/OpenTofu providers
- **Homepage:** <https://github.com/minamijoyo/tfschema>
- **Repository:** <https://github.com/minamijoyo/tfschema>
- **Upstream docs:** <https://github.com/minamijoyo/tfschema#readme>
- **License:** MIT
- **Source archive:** <https://github.com/minamijoyo/tfschema/archive/refs/tags/v0.7.10.tar.gz>
- **Last updated:** 2026-05-04T17:28:03Z
- **Generated:** 2026-07-08T18:08:21+00:00

## Executables

- tfschema (cli)
- tfschema (alias)

## Build dependencies

- go

## Install behavior

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

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 0.7.10
- Package-manager updated: 2026-05-04
- Local data: ok
- Upstream repository: https://github.com/minamijoyo/tfschema
- Upstream latest detected: v0.7.10 (current)
## Project history and usage

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.

### Project history

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.

### Adoption history

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.

### How it is used

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.

### Why package nerds care

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.

### Timeline

- 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

### Sources

- <https://formulae.brew.sh/api/formula/tfschema.json>
- <https://github.com/minamijoyo/tfschema#readme>
- <https://github.com/minamijoyo/tfschema/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:** tfschema
- **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.
- [go](https://www.automicvault.com/pkg/brew/go/) - Build dependency declared by Homebrew.
- [tfupdate](https://www.automicvault.com/pkg/brew/tfupdate/) - Shares av.db curated category or tags: cli, developer-tools, infrastructure-as-code, opentofu, terraform.
- [iam-policy-json-to-terraform](https://www.automicvault.com/pkg/brew/iam-policy-json-to-terraform/) - Shares av.db curated category or tags: cli, developer-tools, infrastructure-as-code, terraform.
- [terragrunt](https://www.automicvault.com/pkg/brew/terragrunt/) - Shares av.db curated category or tags: cli, developer-tools, infrastructure-as-code, opentofu, terraform.
- [terramate](https://www.automicvault.com/pkg/brew/terramate/) - Shares av.db curated category or tags: cli, developer-tools, infrastructure-as-code, opentofu, terraform.
- [tfsort](https://www.automicvault.com/pkg/brew/tfsort/) - Shares av.db curated category or tags: cli, developer-tools, infrastructure-as-code, terraform.
- [tfstate-lookup](https://www.automicvault.com/pkg/brew/tfstate-lookup/) - Shares av.db curated category or tags: cli, developer-tools, infrastructure-as-code, terraform.
- [tofu-ls](https://www.automicvault.com/pkg/brew/tofu-ls/) - Shares av.db curated category or tags: cli, developer-tools, infrastructure-as-code, opentofu, terraform.
- [k2tf](https://www.automicvault.com/pkg/brew/k2tf/) - Shares av.db curated category or tags: cli, developer-tools, infrastructure-as-code, terraform.
- [tfautomv](https://www.automicvault.com/pkg/brew/tfautomv/) - Local package facts share a topical domain. Shared terms: cli, code, developer, developer-tools, infrastructure.

## Combined YAML source

View the package source record on GitHub. [combined/tfschema.yml](https://github.com/automic-vault/db/blob/main/combined/tfschema.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
