# terrahash を Homebrew でインストール

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

## インストール

```sh
sudo av install brew:terrahash
```

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

### macOS

- Homebrew (100%):

```sh
brew install terrahash
```

  証拠: local Homebrew formula metadata

## パッケージ情報

- **パッケージキー:** brew:terrahash
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/terrahash>
- **バージョン:** 0.1.0
- **ソース概要:** Create and store a hash of the Terraform modules used by your configuration
- **ホームページ:** <https://github.com/ned1313/terrahash>
- **リポジトリ:** <https://github.com/ned1313/terrahash>
- **ライセンス:** MIT
- **ソースアーカイブ:** <https://github.com/ned1313/terrahash/archive/refs/tags/v0.1.0.tar.gz>
- **最終更新:** 2026-07-26T00:50:36+02:00
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

- terrahash (cli)
- terrahash (エイリアス)

## ビルド依存関係

- go

## インストール挙動

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

## バージョンと鮮度

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

TerraHash is a small Terraform module-locking CLI that creates and checks hashes for modules used by a Terraform configuration.

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

The public GitHub repository was created in June 2024. Its README explicitly labels the project as early-stage software, while documenting the core behavior: evaluate initialized Terraform configuration, generate hashes for modules, and store them in a .terraform.module.lock.hcl file analogous to Terraform's provider lock file.

The tool's narrow purpose is supply-chain control for Terraform modules. It checks the lock file against current module hashes and version constraints, then reports changed hashes, changed versions, or missing modules.

### 採用の歴史

Adoption appears niche and security-focused rather than broad. Repository metadata showed a small but visible public audience by July 2026, and Homebrew metadata lists a brew formula for the CLI.

### 使われ方

The README describes three central commands: terrahash init to create a module lock file, terrahash check to validate current modules against it, and terrahash upgrade to update the lock file after approved changes.

The project is meant to run in CI so deployments can fail when Terraform module code or version constraints diverge from the approved lock file.

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

For package nerds, TerraHash is interesting because it fills a small gap in Terraform's lock-file story: Terraform has a provider lock file, while this tool experiments with a separate module lock file that can be installed as a simple CLI.

### タイムライン

- 2024: Public GitHub repository created.
- 2024: README documents init, check, and upgrade workflows around .terraform.module.lock.hcl.
- 2026: Homebrew metadata lists terrahash as a packaged CLI.

### Related projects

- Terraform supplies the module system and provider lock-file pattern that TerraHash mirrors.
- Terragrunt and Terramate are adjacent Terraform workflow tools, but TerraHash is focused specifically on module hash verification.

### ソース

- Input package metadata: source_facts.package-manager, source_facts.package-manager-url
- README: https://github.com/ned1313/terrahash#readme
- Repository metadata: https://api.github.com/repos/ned1313/terrahash


## セキュリティノート

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:** terrahash
- **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.
- [Text processing packages](https://pkg.so/ja/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [go](https://pkg.so/ja/brew/go/) - Build dependency declared by Homebrew.
- [terragrunt](https://pkg.so/ja/brew/terragrunt/) - Shares pkgdb curated category or tags: cli, developer-tools, iac, terraform.
- [terramate](https://pkg.so/ja/brew/terramate/) - Shares pkgdb curated category or tags: cli, developer-tools, iac, terraform.
- [terratag](https://pkg.so/ja/brew/terratag/) - Shares pkgdb curated category or tags: cli, developer-tools, iac, terraform.
- [terrahelp](https://pkg.so/ja/brew/terrahelp/) - Shares pkgdb curated category or tags: cli, developer-tools, iac, terraform.
- [xxhash](https://pkg.so/ja/brew/xxhash/) - Shares pkgdb curated category or tags: cli, developer-tools, hashing.
- [tfenv](https://pkg.so/ja/brew/tfenv/) - Shares pkgdb curated category or tags: cli, developer-tools, terraform.
- [terraform-docs](https://pkg.so/ja/brew/terraform-docs/) - Shares pkgdb curated category or tags: cli, developer-tools, terraform.
- [tenv](https://pkg.so/ja/brew/tenv/) - Shares pkgdb curated category or tags: cli, developer-tools, terraform.
- [terraform-module-versions](https://pkg.so/ja/brew/terraform-module-versions/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, module, modules.
- [hcledit](https://pkg.so/ja/brew/hcledit/) - Local package facts share a topical domain. Shared terms: cli, configuration, developer, developer-tools, terraform.

## Combined YAML source

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