Automic VaultAutomic Vault

brew

Install gh-ost with Homebrew, Nix

Triggerless online schema migration solution for MySQL. Version 1.1.10 via Homebrew; verified 2026-06-05.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install gh-ost

local Homebrew formula metadata

Linux

Nixverified · 92%
nix profile install nixpkgs#gh-ost

nixpkgs package indexes · pkgs/by-name/gh/gh-ost/package.nix · source: api.github.com

overview

Package summary

Triggerless online schema migration solution for MySQL

Commands and aliases

  • gh-ost

history

Project history and usage

gh-ost is GitHub's triggerless online schema-migration tool for MySQL, designed to move table changes through binlog streaming rather than database triggers.

Project history

GitHub created the gh-ost repository in March 2016 and published pre-production releases beginning with v0.7 in May 2016. The README explains that the name began as `gh-osc`, for GitHub Online Schema Change, before becoming `gh-ost`, and credits GitHub's database infrastructure team as designers, authors, reviewers, and testers.

The project came out of GitHub's operational experience with MySQL schema changes at production scale. Its design follows the ghost-table migration pattern used by earlier online schema-change tools, but replaces trigger-based change capture with MySQL binary-log streaming so the tool can pause, throttle, audit, and control cut-over more explicitly.

Adoption history

gh-ost became significant beyond GitHub because it offered a production-tested alternative to pt-online-schema-change and Facebook's online schema-change lineage. Its documentation includes cloud and managed-database notes, test-on-replica guidance, interactive commands, hooks, and operational limits, making it attractive to teams that needed safer MySQL DDL changes.

How it is used

Practitioners run gh-ost in noop, replica test, replica-assisted master migration, direct master migration, or replica-only modes. Common practice is to test on replicas, run a noop check, execute the migration, watch throttling and lag controls, and postpone cut-over until an operator chooses the swap window.

Why package nerds care

For package-manager users, gh-ost matters because it turns a sophisticated database migration workflow into a single Go binary available through releases and packages. That makes online schema migration scriptable in deployment pipelines while keeping the operational controls visible at the command line.

Timeline

  • 2016: The GitHub repository was created.
  • 2016: v0.7 was published as a pre-production release.
  • 2016: GitHub published an engineering article describing gh-ost as its online migration tool for MySQL.
  • 2026: The release feed showed the v1.1 series.

Related projects

  • The README explicitly relates gh-ost to Facebook online schema change and Percona's pt-online-schema-change, while highlighting its triggerless binlog-based design.

security posture

Risk level: blue

broad file, network, media, or database tool signal.

Risk classifier

blue risk · medium confidence · tool

Why

  • broad file, network, media, or database tool signal

Signals

  • text:sql

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Build metadata lists 1 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
gh-ostcliglobal executable

freshness

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

page generated2026-07-08
manager version1.1.10
manager updated2026-06-05
local dataok
upstreamcurrent
latest detectedv1.1.10

https://github.com/github/gh-ost

  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:gh-ost
Version1.1.10
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/gh-ost
Homepagehttps://github.com/github/gh-ost
Repositoryhttps://github.com/github/gh-ost
Upstream docshttps://github.com/github/gh-ost#readme
LicenseMIT
Source archivehttps://github.com/github/gh-ost/archive/refs/tags/v1.1.10.tar.gz
Last updated2026-06-05T00:04:16Z
Pulseupdated
Build dependenciesgo
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namegh-ost
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Nix95%

gh-ost

nix profile install nixpkgs#gh-ost
  • normalized package name match
  • Matched by: Gh Ost
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/gh/gh-ost/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment