macOS
brew install dbmatelocal Homebrew formula metadata
brew / rank 1175
Lightweight, framework-agnostic database migration tool. Version 2.34.1 via Homebrew; verified 2026-07-28. Also installable with nix: nix profile install nixpkgs#dbmate.
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 | executable | indexed executable | Discovered from the local executable index. |
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.
install metadata
| Package key | brew:dbmate |
|---|---|
| Version | 2.34.1 |
| Package manager | Homebrew |
| Homepage | https://github.com/amacneil/dbmate |
| Repository | https://github.com/amacneil/dbmate |
| Last updated | 2026-07-28T14:10:37+02:00 |
| Pulse | updated |
| Bottle | not recorded |
| Service | none declared |
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.33.0-r1
Lightweight, framework-agnostic database migration tool
https://github.com/amacneil/dbmate
sudo apk add dbmatedbmate-doc 2.33.0-r1
Lightweight, framework-agnostic database migration tool (documentation)
https://github.com/amacneil/dbmate
sudo apk add dbmate-docdbmate 2.34.1-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.