# 使用 Homebrew 安装 sqldiff

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

## 安装

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

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install sqldiff
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:sqldiff
- **软件包管理器:** Homebrew
- **版本:** 3.53.4
- **来源摘要:** Displays the differences between SQLite databases
- **主页:** <https://www.sqlite.org/sqldiff.html>
- **最后更新:** 2026-07-25T14:38:49Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- sqldiff (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 3.53.4
## 项目历史与用法

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。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。



## 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
- curated package history
- pkgdb category and tag curation
- cross-ecosystem install command graph
