macOS
brew install dbmatelocal Homebrew formula metadata
brew
Lightweight, framework-agnostic database migration tool. Version 2.33.0 via Homebrew; verified 2026-04-29.
install
brew install dbmatelocal Homebrew formula metadata
sudo apk add dbmateAlpine Linux edge package indexes · dbmate · source: dl-cdn.alpinelinux.org
nix profile install nixpkgs#dbmatenixpkgs package indexes · pkgs/by-name/db/dbmate/package.nix · source: api.github.com
sudo pacman -S dbmateArch Linux sync databases · dbmate · source: geo.mirror.pkgbuild.com
scoop install main/dbmateScoop official bucket manifest trees · bucket/dbmate.json · source: api.github.com
winget install --id amacneil.dbmate -eWindows Package Manager source index · amacneil.dbmate · source: cdn.winget.microsoft.com
overview
Lightweight, framework-agnostic database migration tool
history
Dbmate is a standalone, framework-agnostic database migration tool that keeps schemas in sync across developers and production servers. It uses plain SQL migrations, timestamped migration files, and a command-line workflow that can be shared across languages and frameworks.
The official GitHub repository was created in November 2015, and its early v0.1 tag points to a December 2015 commit. The README emphasizes that Dbmate can be used with Go, Node.js, Python, Ruby, PHP, Rust, C++, or any other stack, making it independent of a web framework's migration system.
Dbmate spread as a simple binary migration tool for teams that wanted SQL migrations without adopting a framework-specific migrator. The official README documents installation through npm, Homebrew, direct Linux binaries, Scoop on Windows, and GitHub Container Registry images, showing how it fits multiple package ecosystems.
A typical project stores DATABASE_URL in the environment or a local .env file, keeps migration files under ./db/migrations by default, and runs commands such as dbmate new, up, migrate, rollback, status, dump, and load. Dbmate also writes schema.sql for diffing schema changes in git.
Dbmate is package-nerd friendly because it is boring in the best way: one self-contained binary, plain SQL files, environment-variable configuration, and no service dependency. It is a migration tool that deliberately avoids framework lock-in and SaaS upsell, which makes it easy to slot into mixed-language repos.
security posture
broad file, network, media, or database tool signal.
blue risk · medium confidence · tool
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
dbmate | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/amacneil/dbmate
install metadata
| Package key | brew:dbmate |
|---|---|
| Version | 2.33.0 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/dbmate |
| Homepage | https://github.com/amacneil/dbmate |
| Repository | https://github.com/amacneil/dbmate |
| Upstream docs | https://github.com/amacneil/dbmate#readme |
| License | MIT |
| Source archive | https://github.com/amacneil/dbmate/archive/refs/tags/v2.33.0.tar.gz |
| Last updated | 2026-04-29T13:56:50Z |
| Pulse | updated |
| Build dependencies | go |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | dbmate |
| 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 |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
dbmate
nix profile install nixpkgs#dbmatedbmate 2.31.0-r3
Lightweight, framework-agnostic database migration tool
https://github.com/amacneil/dbmate
sudo apk add dbmatedbmate-doc 2.31.0-r3
Lightweight, framework-agnostic database migration tool (documentation)
https://github.com/amacneil/dbmate
sudo apk add dbmate-docdbmate 2.33.0-1
A lightweight, framework-agnostic database migration tool
https://github.com/amacneil/dbmate
sudo pacman -S dbmatemain/dbmate
scoop install main/dbmateamacneil.dbmate
winget install --id amacneil.dbmate -esource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.