# git-hound を Homebrew, Nix でインストール

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

## インストール

```sh
sudo av install brew:git-hound
```

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

### macOS

- Homebrew (100%):

```sh
brew install git-hound
```

  証拠: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#git-hound
```

  証拠: nixpkgs package indexes: pkgs/by-name/gi/git-hound/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## パッケージ情報

- **パッケージキー:** brew:git-hound
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/git-hound>
- **バージョン:** 1.0.0
- **ソース概要:** Git plugin that prevents sensitive data from being committed
- **ホームページ:** <https://github.com/ezekg/git-hound>
- **リポジトリ:** <https://github.com/ezekg/git-hound>
- **ライセンス:** MIT
- **ソースアーカイブ:** <https://github.com/ezekg/git-hound/archive/refs/tags/1.0.0.tar.gz>
- **最終更新:** 2026-07-29T16:05:01+02:00
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

- git-hound (cli)
- git-hound (エイリアス)

## ビルド依存関係

- go

## インストール挙動

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

## バージョンと鮮度

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

git-hound is a Git plugin for preventing sensitive data from entering commits. It checks staged diffs against user-provided PCRE regular expressions before commit operations proceed.

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

The repository was created in November 2015 as a Go command-line plugin. Its README presents Hound as a small Git extension with precompiled release binaries, Go installation, and Homebrew installation paths.

### 採用の歴史

git-hound fits the mid-2010s rise of local secret-scanning tools, when teams began adding pre-commit checks for passwords, database settings, tokens, and machine-specific paths. Its adoption stayed niche compared with larger scanners, but the repository attracted several hundred stars and was packaged for Homebrew and Nix.

### 使われ方

Practitioners run `git hound commit` to sniff staged changes before invoking `git commit`, or `git hound sniff` to scan a commit, a manual diff, a whole codebase, or repository history. The `.githound.yml` file separates warning patterns, failure patterns, and skipped filenames.

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

The package is interesting because it exposes Git's plugin naming convention: installing `git-hound` makes `git hound` available. It is also a compact example of pre-commit security tooling before secret scanning became a standard hosted-platform feature.

### タイムライン

- 2015: GitHub repository created for the Go implementation.
- 2016: Several 0.5.x releases publish packaged binaries.
- 2017: 0.6.x releases continue the pre-1.0 line.
- 2020: 1.0.0 release published.

### Related projects

- git-hound is related to Git hooks, pre-commit frameworks, and secret scanners such as git-secrets and truffleHog, all of which try to catch sensitive strings before or after they enter Git history.

### ソース

- <https://api.github.com/repos/ezekg/git-hound/releases>
- <https://github.com/ezekg/git-hound>
- <https://raw.githubusercontent.com/ezekg/git-hound/master/README.md>


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- narrow executable package without higher-risk signals


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: .githound.yml
## ソースデータベース詳細

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

## 他のパッケージマネージャ記録

- Nix - git-hound: normalized package name match | nixpkgs package indexes: pkgs/by-name/gi/git-hound/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## 関連リンク

- [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.
- [Database and data packages](https://pkg.so/ja/database-data-tools/) - Matched database, SQL, migration, or data-store metadata.
- [go](https://pkg.so/ja/brew/go/) - Build dependency declared by Homebrew.
- [tartufo](https://pkg.so/ja/brew/tartufo/) - Shares pkgdb curated category or tags: cli, git, pre-commit, secret-scanning, security.
- [gitleaks](https://pkg.so/ja/brew/gitleaks/) - Shares pkgdb curated category or tags: cli, git, secret-scanning, security.
- [git-secrets](https://pkg.so/ja/brew/git-secrets/) - Shares pkgdb curated category or tags: cli, git, secret-scanning, security.
- [detect-secrets](https://pkg.so/ja/brew/detect-secrets/) - Shares pkgdb curated category or tags: cli, pre-commit, secret-scanning, security.
- [squealer](https://pkg.so/ja/brew/squealer/) - Shares pkgdb curated category or tags: cli, git, secret-scanning, security.
- [trufflehog](https://pkg.so/ja/brew/trufflehog/) - Shares pkgdb curated category or tags: cli, git, security.
- [git-crypt](https://pkg.so/ja/brew/git-crypt/) - Shares pkgdb curated category or tags: cli, git, security.
- [kingfisher](https://pkg.so/ja/brew/kingfisher/) - Shares pkgdb curated category or tags: cli, secret-scanning, security.
- [git-credential-oauth](https://pkg.so/ja/brew/git-credential-oauth/) - Security-sensitive metadata or terminology overlaps. Shared terms: cli, git, security, that.

## Combined YAML source

View the package source record on GitHub. [combined/git-hound.yml](https://github.com/mxcl/pkgdb/blob/main/combined/git-hound.yml)


## ソース

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
