# 使用 Homebrew 安装 sqldiff

查看 sqldiff 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:sqldiff
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install sqldiff
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:sqldiff
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/sqldiff>
- **版本:** 3.53.4
- **来源摘要:** Displays the differences between SQLite databases
- **主页:** <https://www.sqlite.org/sqldiff.html>
- **上游文档:** <https://www.sqlite.org/sqldiff.html>
- **许可证:** blessing
- **源码归档:** <https://www.sqlite.org/2026/sqlite-src-3530400.zip>
- **最后更新:** 2026-07-25T14:38:49Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- sqldiff (cli)
- sqldiff (别名)

## 安装行为

- 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/sqldiff.html
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

sqldiff is the SQLite project's command-line database difference utility. It compares two SQLite databases and usually emits SQL that transforms the first database into the second.

### 项目历史

sqldiff is documented as part of the official SQLite toolset rather than as a separate standalone project. The SQLite source repository is managed in Fossil at sqlite.org/src, and the SQLite README emphasizes that this Fossil repository contains the official source history.

### 采用历史

As a small companion utility to SQLite, sqldiff is mostly adopted through SQLite-oriented packaging. The input metadata lists a Homebrew formula with the sqldiff executable, giving macOS and Linuxbrew users an easy way to install the database-diff tool without building SQLite source utilities themselves.

### 使用方式

The basic invocation is sqldiff database1.sqlite database2.sqlite. Options can emit summaries, limit comparison to schema or a table, wrap output in a transaction, or produce a binary changeset for SQLite's session extension.

### 为什么软件包爱好者会关心

Package nerds care about sqldiff because it is a tiny, official SQLite-adjacent CLI that does one packageable job well: inspect and script differences between database files. It is useful in migrations, fixtures, reproducible tests, and debugging binary database changes.

### 时间线

- 2000: SQLite source history begins, according to the SQLite source README.
- Current docs: sqldiff is documented as sqldiff.exe, a command-line database difference utility.
- 2023: sqldiff documentation page last updated on 2023-01-06.

### Related projects

- sqldiff is related to SQLite itself and to the SQLite session extension when using the --changeset mode.

### 来源

- <https://github.com/sqlite/sqlite#readme>
- <https://www.sqlite.org/sqldiff.html>
- <https://www.sqlite.org/src>
- input.source_facts.package-manager


## 安全说明

没有找到 sqldiff 的匹配本地密钥处理 manifest。软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。


## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** sqldiff
- **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/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/zh-hans/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/zh-hans/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [sqlx-cli](https://pkg.so/zh-hans/brew/sqlx-cli/) - Shares pkgdb curated category or tags: cli, database, developer-tools, sql, sqlite.
- [dbmate](https://pkg.so/zh-hans/brew/dbmate/) - Shares pkgdb curated category or tags: cli, database, developer-tools, sql, sqlite.
- [snowflake-cli](https://pkg.so/zh-hans/brew/snowflake-cli/) - Shares pkgdb curated category or tags: cli, database, developer-tools, sql.
- [sqlc](https://pkg.so/zh-hans/brew/sqlc/) - Shares pkgdb curated category or tags: cli, database, developer-tools, sql.
- [sqlpage](https://pkg.so/zh-hans/brew/sqlpage/) - Shares pkgdb curated category or tags: cli, database, developer-tools, sql.
- [dbhash](https://pkg.so/zh-hans/brew/dbhash/) - Shares pkgdb curated category or tags: cli, database, developer-tools, sqlite.
- [sql-lint](https://pkg.so/zh-hans/brew/sql-lint/) - Shares pkgdb curated category or tags: cli, database, developer-tools, sql.
- [jet](https://pkg.so/zh-hans/brew/jet/) - Shares pkgdb curated category or tags: cli, database, developer-tools, sql.

## Combined YAML source

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