# dbhash を Homebrew でインストール

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

## インストール

```sh
sudo av install brew:dbhash
```

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

### macOS

- Homebrew (100%):

```sh
brew install dbhash
```

  証拠: local Homebrew formula metadata

## パッケージ情報

- **パッケージキー:** brew:dbhash
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/dbhash>
- **バージョン:** 3.53.4
- **ソース概要:** Computes the SHA1 hash of schema and content of a SQLite database
- **ホームページ:** <https://www.sqlite.org/dbhash.html>
- **上流ドキュメント:** <https://www.sqlite.org/dbhash.html>
- **ライセンス:** blessing
- **ソースアーカイブ:** <https://www.sqlite.org/2026/sqlite-src-3530400.zip>
- **最終更新:** 2026-07-25T14:38:49Z
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

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

## インストール挙動

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

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 3.53.4
- マネージャ更新日: 2026-07-25
- ローカルデータ: OK
- 上流リポジトリ: https://www.sqlite.org/dbhash.html
- 情報: Release/tag comparison is only available for GitHub repositories.
## プロジェクトの歴史と使われ方

dbhash is an SQLite command-line utility that computes a SHA1 hash of a database's schema and content, ignoring storage-level details that do not change the represented data. It is packaged separately in some ecosystems because it is a useful database-inspection tool even for users who are not building SQLite itself.

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

The official SQLite documentation describes dbhash as part of SQLite's source tree, implemented by the single C source file tool/dbhash.c. The SQLite source repository is a Fossil repository whose README says it contains SQLite source history going back to May 2000.

### 採用の歴史

dbhash is a specialist utility rather than a broad application. Its adoption comes from SQLite's ubiquity: database users often need to compare two SQLite files whose on-disk bytes differ after VACUUM, page-size changes, journal-mode changes, backup, or other operations, while the logical schema and content remain equivalent.

### 使われ方

Users run dbhash with one or more SQLite database files and compare the resulting hashes. The official documentation also notes options for restricting hashing to specific tables, content only, or schema only, making it useful in tests, release checks, and remote verification where transferring a whole database would be expensive.

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

For package maintainers and database-heavy developers, dbhash is a small example of SQLite's tool-first culture: a single-purpose binary built from the canonical source tree that solves a real reproducibility problem better than hashing database files byte-for-byte.

### タイムライン

- 2000: SQLite source repository history begins, according to the official repository README.
- 2025: The dbhash documentation page records a May 2025 update.
- Present: The official docs describe building dbhash from the canonical SQLite source tree.

### Related projects

- dbhash is closely tied to SQLite itself and related SQLite maintenance tools. It complements SQLite backup, VACUUM, REINDEX, ANALYZE, and schema inspection workflows by comparing logical database content.

### ソース

- <https://www.sqlite.org/dbhash.html>
- <https://www.sqlite.org/src/dir?ci=trunk>
- <https://sqlite.org/src>


## セキュリティノート

dbhash に一致するローカルシークレット処理マニフェストは見つかりませんでした。将来の対応で安定したパッケージ URL を使えるよう、パッケージメタデータはここに公開されています。


## ソースデータベース詳細

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** dbhash
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable


## 関連リンク

- [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.
- [Developer build packages](https://pkg.so/ja/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Networking and protocol packages](https://pkg.so/ja/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [neonctl](https://pkg.so/ja/brew/neonctl/) - Shares pkgdb curated category or tags: cli, database, developer-tools.
- [litecli](https://pkg.so/ja/brew/litecli/) - Shares pkgdb curated category or tags: cli, database, developer-tools, sqlite.
- [mongosh](https://pkg.so/ja/brew/mongosh/) - Shares pkgdb curated category or tags: cli, database, developer-tools.
- [libpq](https://pkg.so/ja/brew/libpq/) - Shares pkgdb curated category or tags: cli, database, developer-tools.
- [dbmate](https://pkg.so/ja/brew/dbmate/) - Shares pkgdb curated category or tags: cli, database, developer-tools, sqlite.
- [liquibase](https://pkg.so/ja/brew/liquibase/) - Shares pkgdb curated category or tags: cli, database, developer-tools.
- [diesel](https://pkg.so/ja/brew/diesel/) - Shares pkgdb curated category or tags: cli, database, developer-tools.
- [dblab](https://pkg.so/ja/brew/dblab/) - Shares pkgdb curated category or tags: cli, database, developer-tools, sqlite.
- [sqldiff](https://pkg.so/ja/brew/sqldiff/) - Local metadata places this package in an adjacent workflow. Shared terms: cli, database, developer, developer-tools, sqlite.

## Combined YAML source

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