🍺 BREW Explorer

← all formulae

dbmate

brew install dbmate v2.33.0 MIT

Lightweight, framework-agnostic database migration tool

419
30-day installs · #1905
1.6k
90-day · #1774
20.5k
365-day · #1057
7.0k
★ GitHub stars · updated 2mo ago

Build dependencies

go

GitHub topics

clickhouse cpp database database-migrations database-schema docker go golang migration migrations mysql nodejs postgres postgresql python rust sqlite

Links

Raw metadata
{
  "aliases": [],
  "alternatives": [],
  "build_dependencies": [
    "go"
  ],
  "categories": [],
  "caveats": null,
  "conflicts_with": [],
  "dependencies": [],
  "deprecated": 0,
  "deprecation_reason": null,
  "desc": "Lightweight, framework-agnostic database migration tool",
  "disable_reason": null,
  "disabled": 0,
  "enrichment_fetched_at": "2026-06-20T23:36:51+00:00",
  "first_seen": "2026-06-20T23:34:18+00:00",
  "full_name": "dbmate",
  "github_default_branch": "main",
  "github_last_commit_at": "2026-06-17T04:42:33Z",
  "github_readme_excerpt": "# Dbmate\n\n[![Release](https://img.shields.io/github/release/amacneil/dbmate.svg)](https://github.com/amacneil/dbmate/releases)\n[![Go Report](https://goreportcard.com/badge/github.com/amacneil/dbmate)](https://goreportcard.com/report/github.com/amacneil/dbmate)\n[![Reference](https://img.shields.io/badge/go.dev-reference-blue?logo=go\u0026logoColor=white)](https://pkg.go.dev/github.com/amacneil/dbmate/v2/pkg/dbmate)\n\nDbmate is a database migration tool that will keep your database schema in sync across multiple developers and your production servers.\n\nIt is a standalone command line tool that can be used with Go, Node.js, Python, Ruby, PHP, Rust, C++, or any other language or framework you are using to write database-backed applications. This is especially helpful if you are writing multiple services in different languages, and want to maintain some sanity with consistent development tools.\n\nFor a comparison between dbmate and other popular database schema migration tools, please see [Alternatives](#alternatives).\n\n## Table of Contents\n\n- [Features](#features)\n- [Installation](#installation)\n- [Commands](#commands)\n  - [Command Line Options](#command-line-options)\n- [Usage](#usage)\n  - [Connecting to the Database](#connecting-to-the-database)\n    - [PostgreSQL](#postgresql)\n    - [MySQL](#mysql)\n    - [MariaDB](#mariadb)\n    - [SQLite](#sqlite)\n    - [ClickHouse](#clickhouse)\n    - [BigQuery](#bigquery)\n    - [Spanner](#spanner)\n  - [Creating Migrations](#creating-migrations)\n  - [Running Migrations](#running-migrations)\n  - [Rolling Back Migrations](#rolling-back-migrations)\n  - [Migration Options](#migration-options)\n  - [Waiting For The Database](#waiting-for-the-database)\n  - [Exporting Schema File](#exporting-schema-file)\n- [Library](#library)\n  - [Use dbmate as a library](#use-dbmate-as-a-library)\n  - [Embedding migrations](#embedding-migrations)\n- [Concepts](#concepts)\n  - [Migration files](#migration-files)\n  - [Schema file](#schema-file)\n  - [Schema migrations tab",
  "github_repo": "amacneil/dbmate",
  "github_stars": 6957,
  "github_topics": [
    "clickhouse",
    "cpp",
    "database",
    "database-migrations",
    "database-schema",
    "docker",
    "go",
    "golang",
    "migration",
    "migrations",
    "mysql",
    "nodejs",
    "postgres",
    "postgresql",
    "python",
    "rust",
    "sqlite"
  ],
  "homepage": "https://github.com/amacneil/dbmate",
  "homepage_og_description": null,
  "homepage_og_image": null,
  "homepage_title": null,
  "installs_30d": 419,
  "installs_365d": 20529,
  "installs_90d": 1584,
  "keg_only": 0,
  "keg_only_reason": null,
  "last_seen": "2026-06-20T23:34:18+00:00",
  "license": "MIT",
  "llm_generated_at": null,
  "llm_model": null,
  "name": "dbmate",
  "oldnames": [],
  "one_liner": null,
  "optional_dependencies": [],
  "rank_30d": 1905,
  "rank_365d": 1057,
  "rank_90d": 1774,
  "raw_hash": "eb118540a7a681ce",
  "recommended_dependencies": [],
  "revision": 0,
  "ruby_source_path": "Formula/d/dbmate.rb",
  "tap": "homebrew/core",
  "test_dependencies": [],
  "uses_from_macos": [],
  "version_head": "HEAD",
  "version_stable": "2.33.0",
  "versioned_formulae": [],
  "why_use_this": null
}