# Install sqldiff with Homebrew

Displays the differences between SQLite databases. Version 3.53.4 via Homebrew; verified 2026-07-25.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install sqldiff
```

  Evidence: local Homebrew formula metadata

## Package facts

- **Package key:** brew:sqldiff
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/sqldiff>
- **Version:** 3.53.4
- **Source summary:** Displays the differences between SQLite databases
- **Homepage:** <https://www.sqlite.org/sqldiff.html>
- **Upstream docs:** <https://www.sqlite.org/sqldiff.html>
- **License:** blessing
- **Source archive:** <https://www.sqlite.org/2026/sqlite-src-3530400.zip>
- **Last updated:** 2026-07-25T14:38:49Z
- **Generated:** 2026-08-04T22:13:35+00:00

## Executables

- sqldiff (cli)
- sqldiff (alias)

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sequoia, sonoma, tahoe, x86_64_linux

## Freshness

- Page generated: 2026-08-04
- Package-manager version: 3.53.4
- Package-manager updated: 2026-07-25
- Local data: ok
- Upstream repository: https://www.sqlite.org/sqldiff.html
- info: Release/tag comparison is only available for GitHub repositories.
## Project history and usage

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.

### Project history

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.

### Adoption 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.

### How it is used

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.

### Why package nerds care

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.

### Timeline

- 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.

### Sources

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


## Security Notes

No matching local secret-handling manifest was found for sqldiff. Package metadata is still published here so future coverage has a stable package URL.


## Source Database Details

- **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


## Related links

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


## Sources

- 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
