macOS
brew install dbmatelocal Homebrew formula metadata
安装
brew install dbmatelocal Homebrew formula metadata
sudo apk add dbmateAlpine Linux edge package indexes · dbmate · 来源: dl-cdn.alpinelinux.org
nix profile install nixpkgs#dbmatenixpkgs package indexes · pkgs/by-name/db/dbmate/package.nix · 来源: api.github.com
sudo pacman -S dbmateArch Linux sync databases · dbmate · 来源: geo.mirror.pkgbuild.com
scoop install main/dbmateScoop official bucket manifest trees · bucket/dbmate.json · 来源: api.github.com
winget install --id amacneil.dbmate -eWindows Package Manager source index · amacneil.dbmate · 来源: cdn.winget.microsoft.com
概览
Lightweight, framework-agnostic database migration tool
历史
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.
安全态势
broad file, network, media, or database tool signal.
blue 风险 · 中 置信度 · tool
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
dbmate | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:dbmate |
|---|---|
| 版本 | 2.34.1 |
| 软件包管理器 | Homebrew |
| 主页 | https://github.com/amacneil/dbmate |
| 仓库 | https://github.com/amacneil/dbmate |
| 最后更新 | 2026-07-28T14:10:37+02:00 |
| Pulse | updated |
| Bottle | 未记录 |
| 服务 | 未声明 |
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
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 -e来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.