Skip to main content

Mergify CLI is a tool that automates the creation and management of stacked pull requests on GitHub and handles CI results upload

Project description

Mergify CLI

Command-line tool for Mergify: stacked pull requests, CI insights, merge queue, scheduled freezes, and configuration management.

Installation

Homebrew (recommended for macOS)

brew install mergifyio/tap/mergify-cli

The fully-qualified name taps and installs in one step. Upgrade with brew upgrade mergify-cli — not mergify self-update, which overwrites the Homebrew-managed binary. See the tap for tap-trust and short-name details.

Install script (recommended for Linux; also macOS — x86_64 and aarch64)

curl -fsSL https://raw.githubusercontent.com/Mergifyio/mergify-cli/main/install.sh | sh

Installs to ~/.local/bin/mergify. Override with MERGIFY_INSTALL_DIR=/usr/local/bin or pin a version with MERGIFY_VERSION=<version>. Upgrade with mergify self-update.

Manual download (Windows, or to bypass the script)

Grab the matching archive from the latest release:

  • Windows — download mergify-<version>-x86_64-pc-windows-msvc.zip, extract it, and put mergify.exe anywhere on your PATH.
  • Linux / macOS — download mergify-<version>-<target>.tar.gz (e.g. mergify-2026.4.23.1-aarch64-apple-darwin.tar.gz), extract with tar -xzf, and put the resulting mergify binary anywhere on your PATH.

Verify against SHA256SUMS from the same release if you care.

Run mergify --help to list commands and mergify <command> --help for details. See the CLI docs for authentication and global options (--token, --repository, --api-url).

Commands

  • mergify stack — Create and manage stacked pull requests. Docs
  • mergify ci — Upload JUnit results, evaluate quarantine, detect git refs and CI scopes. Docs
  • mergify tests — Inspect test health and manage quarantine for tests tracked by Mergify CI Insights (mergify tests show NAME..., mergify tests quarantines add NAME, mergify tests quarantines remove NAME). Docs
  • mergify queue — Monitor and manage the Mergify merge queue. Docs
  • mergify freeze — Create and manage scheduled merge freezes. Docs
  • mergify config — Validate and simulate Mergify configuration. Docs

AI Agent Skills

Mergify CLI provides AI skills for managing stacked PRs and Git workflows, compatible with Claude Code, Cursor, and many other AI agents.

Install via npx (all agents):

npx skills add Mergifyio/mergify-cli

Install as a Claude Code plugin:

/plugin marketplace add Mergifyio/mergify-cli
/plugin install mergify

Contributing

Contributions are welcome — open an issue or pull request.

License

Apache License 2.0 — see LICENSE.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mergify_cli-2026.6.18.1.tar.gz (367.6 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

mergify_cli-2026.6.18.1-py3-none-win_amd64.whl (5.0 MB view details)

Uploaded Python 3Windows x86-64

mergify_cli-2026.6.18.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (5.1 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

mergify_cli-2026.6.18.1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (4.8 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64

mergify_cli-2026.6.18.1-py3-none-macosx_11_0_arm64.whl (4.8 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

mergify_cli-2026.6.18.1-py3-none-macosx_10_12_x86_64.whl (5.1 MB view details)

Uploaded Python 3macOS 10.12+ x86-64

File details

Details for the file mergify_cli-2026.6.18.1.tar.gz.

File metadata

  • Download URL: mergify_cli-2026.6.18.1.tar.gz
  • Upload date:
  • Size: 367.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for mergify_cli-2026.6.18.1.tar.gz
Algorithm Hash digest
SHA256 65c9237b915fea45ffe73ab8ccd086ac5ab7bb190f5b92e20293fd5aaf4c1e90
MD5 9410f7dfeb462ddf7556be2150279146
BLAKE2b-256 cd798e9329f80cbeba6c16822e99ad61ca999719c8696ccfa5d569dd9452ab0d

See more details on using hashes here.

Provenance

The following attestation bundles were made for mergify_cli-2026.6.18.1.tar.gz:

Publisher: release.yml on Mergifyio/mergify-cli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mergify_cli-2026.6.18.1-py3-none-win_amd64.whl.

File metadata

File hashes

Hashes for mergify_cli-2026.6.18.1-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 b01ab0b2b78a635fa718dc5f2fe6aa994c7d6cb2c5a706b9bd69b72b9ad480d1
MD5 3750e282b47452ac875a7ff45a0d686a
BLAKE2b-256 fb4a7acb05f9d23b1d61cb84e0fcee7d43a0bd592e76696bcad0bf630119ebe3

See more details on using hashes here.

Provenance

The following attestation bundles were made for mergify_cli-2026.6.18.1-py3-none-win_amd64.whl:

Publisher: release.yml on Mergifyio/mergify-cli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mergify_cli-2026.6.18.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for mergify_cli-2026.6.18.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 7a23476f8c2156d7a2cd6671a1b511601393a0bc5b1f5e9c39a41dee62c92a09
MD5 5e6e50ba31881e710625f2067192116d
BLAKE2b-256 c8737a5af3a19d3e38a1e05d56c314f032866a28e387bd5cb7c589c21c0f41b0

See more details on using hashes here.

Provenance

The following attestation bundles were made for mergify_cli-2026.6.18.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: release.yml on Mergifyio/mergify-cli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mergify_cli-2026.6.18.1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for mergify_cli-2026.6.18.1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 ac86a423aa0d717a4b04d69a92abce96207ab8b241055351697fcdc8ce13f2f4
MD5 9870b06905b92c5ceaa6f51cc1b98a44
BLAKE2b-256 54334809cfe59fcf0ea023c5b092346f0f134ed576c5b04667fae453da2ed7e2

See more details on using hashes here.

Provenance

The following attestation bundles were made for mergify_cli-2026.6.18.1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl:

Publisher: release.yml on Mergifyio/mergify-cli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mergify_cli-2026.6.18.1-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for mergify_cli-2026.6.18.1-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c3e65ac5c3a9776a09bc1faad05619f16a8832903e0e3208aa2ce2c2e73772e5
MD5 71d09c2a97a7a7dd4fb0a9b6c47a2c1a
BLAKE2b-256 d58425f36a6449d5c289dae6ec7d28e51bd48a2b38dda69829a08f7f5d96eca3

See more details on using hashes here.

Provenance

The following attestation bundles were made for mergify_cli-2026.6.18.1-py3-none-macosx_11_0_arm64.whl:

Publisher: release.yml on Mergifyio/mergify-cli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mergify_cli-2026.6.18.1-py3-none-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for mergify_cli-2026.6.18.1-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 30390124ae2117909b4c121cc7a7ce052282ea1d36ff3c7ba6f635e759f4eef1
MD5 4a04e7f9b5a38f20b2300caf321a0ce6
BLAKE2b-256 238769d67a69e2c40e8e8ef03cad461bab318798e58373c5f8f29102e47e4cbb

See more details on using hashes here.

Provenance

The following attestation bundles were made for mergify_cli-2026.6.18.1-py3-none-macosx_10_12_x86_64.whl:

Publisher: release.yml on Mergifyio/mergify-cli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page