Skip to main content

A toolkit for GitHub releases

Project description

ghr

A toolkit for GitHub releases.

Install tools from GitHub releases with one cross-platform command. A single static binary that picks the right asset for your OS and architecture. Supports verifying with minisign, sigstore, and checksums. Install it on a GitHub-hosted runner with pipx install ghr-bin.

Usage

ghr list                                          List installed tools
ghr install <spec> [<pubkey>] [<spec> ...]        Install one or more tools from GitHub releases
ghr uninstall <name>                              Remove an installed tool
ghr download <spec> [<pubkey>] [<spec> ...]       Download one or more release assets
ghr path ensure [--dry-run]                       Add ghr's bin dir to your user PATH
ghr path [bin|tools|cache]                        Show ghr directories
ghr version                                       Print version and exit
ghr help                                          Print this help and exit

Each <spec> is owner/repo[@tag] (auto-pick asset) or owner/repo/file[@tag] (specific asset). A 56-char RW/RU-prefixed base64 token immediately after a spec is treated as that spec's minisign public key. Run ghr <COMMAND> help to show help for a specific command, e.g. ghr download help.

Examples

# Install the latest release of a tool
ghr install burntsushi/ripgrep

# Install a specific version
# https://github.com/bytecodealliance/wasmtime/releases/tag/v44.0.1
ghr install bytecodealliance/wasmtime@v44.0.1

# Install several tools in one invocation (shared HTTP client + auth)
ghr install burntsushi/ripgrep@15.1.0 sharkdp/fd@v10.2.0

# Install minisign itself, verifying the release with the upstream
# minisign public key (inline per-spec key).
# https://jedisct1.github.io/minisign/
ghr install jedisct1/minisign@0.12 \
    RWQf6LRCGA9i53mlYecO4IzT51TGPpvWucNSCh1CBM0QTaLn73Y7GFO3

Install

pipx install ghr-bin
uv tool install ghr-bin
winget install ghr
brew install cataggar/ghr/ghr

See doc/README.md for download, install, directories, uninstall, and verification details (including verifying ghr's own releases).

GitHub Actions

For workflows, install several tools in one cached step:

- uses: cataggar/ghr/actions/install@v0.3.0  # pin to the matching ghr release
  with:
    tools: |
      BurntSushi/ripgrep@14.1.1
      sharkdp/fd@v10.2.0

The action shares git tags with the ghr CLI — pinning @v0.3.0 pins both the action body and the ghr-bin binary. Pick the latest tag from the releases page.

See actions/install, actions/download, and the Caching in GitHub Actions section for details.

License

MIT

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

ghr_bin-0.3.1-py3-none-win_arm64.whl (785.0 kB view details)

Uploaded Python 3Windows ARM64

ghr_bin-0.3.1-py3-none-win_amd64.whl (860.8 kB view details)

Uploaded Python 3Windows x86-64

ghr_bin-0.3.1-py3-none-musllinux_1_1_x86_64.whl (685.3 kB view details)

Uploaded Python 3musllinux: musl 1.1+ x86-64

ghr_bin-0.3.1-py3-none-musllinux_1_1_aarch64.whl (680.8 kB view details)

Uploaded Python 3musllinux: musl 1.1+ ARM64

ghr_bin-0.3.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (685.4 kB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

ghr_bin-0.3.1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (680.8 kB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64

ghr_bin-0.3.1-py3-none-macosx_11_0_arm64.whl (644.5 kB view details)

Uploaded Python 3macOS 11.0+ ARM64

ghr_bin-0.3.1-py3-none-macosx_10_9_x86_64.whl (689.8 kB view details)

Uploaded Python 3macOS 10.9+ x86-64

File details

Details for the file ghr_bin-0.3.1-py3-none-win_arm64.whl.

File metadata

  • Download URL: ghr_bin-0.3.1-py3-none-win_arm64.whl
  • Upload date:
  • Size: 785.0 kB
  • Tags: Python 3, Windows ARM64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for ghr_bin-0.3.1-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 e65602f11216c5e4ac73907d011a28648e853d412271c4289a240d63cc046e02
MD5 31e11673b34fa26c01464f52606923c6
BLAKE2b-256 1c2930f3745aa6f3e6bb9c0cca556cd39f94f20c779d74613375cad83f0458a7

See more details on using hashes here.

Provenance

The following attestation bundles were made for ghr_bin-0.3.1-py3-none-win_arm64.whl:

Publisher: pypi.yml on cataggar/ghr

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

File details

Details for the file ghr_bin-0.3.1-py3-none-win_amd64.whl.

File metadata

  • Download URL: ghr_bin-0.3.1-py3-none-win_amd64.whl
  • Upload date:
  • Size: 860.8 kB
  • Tags: Python 3, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for ghr_bin-0.3.1-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 444b81894c113226debe7b39f6edf458e673b33df958da308037cfdfdfec60c3
MD5 ea91abfe79268e53a4978e1517a8e371
BLAKE2b-256 dae7d4b2c6f897daccb5ba0c49d46fcbed6a6c7e6f172907f5730bd08817f5ee

See more details on using hashes here.

Provenance

The following attestation bundles were made for ghr_bin-0.3.1-py3-none-win_amd64.whl:

Publisher: pypi.yml on cataggar/ghr

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

File details

Details for the file ghr_bin-0.3.1-py3-none-musllinux_1_1_x86_64.whl.

File metadata

File hashes

Hashes for ghr_bin-0.3.1-py3-none-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 67a056aeba56a164275702521aba6da887599be3b6a9dc373a56c0eabbacb194
MD5 fb18e5299c3cb9005cfa10f7bf660dab
BLAKE2b-256 8a7244aad138a22584ace2579f1b1b0d19371df5f6e4ee0db9943d36688f5b12

See more details on using hashes here.

Provenance

The following attestation bundles were made for ghr_bin-0.3.1-py3-none-musllinux_1_1_x86_64.whl:

Publisher: pypi.yml on cataggar/ghr

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

File details

Details for the file ghr_bin-0.3.1-py3-none-musllinux_1_1_aarch64.whl.

File metadata

File hashes

Hashes for ghr_bin-0.3.1-py3-none-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 5488aeee297d1a8458a27bbdd25a94b52afd6839d3e886271a96ecc2c2bbb53f
MD5 45079d288d6a90da6a05e85ba452215f
BLAKE2b-256 f167e456612a3f1b25dfc0c3293daa5ca9a3b58a49e6ed97d53e52b3af55c35b

See more details on using hashes here.

Provenance

The following attestation bundles were made for ghr_bin-0.3.1-py3-none-musllinux_1_1_aarch64.whl:

Publisher: pypi.yml on cataggar/ghr

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

File details

Details for the file ghr_bin-0.3.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for ghr_bin-0.3.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 16c719ccfa1a051bb897bdc451e95e4e6ad4db937c1c0d2bb0a6d2f432728fa1
MD5 5394c352b319054ee7517235896f6a75
BLAKE2b-256 6fa91c89c2dcad04da6fb61cb556d5d1482d8354addd304b2e960f39a7dc22c9

See more details on using hashes here.

Provenance

The following attestation bundles were made for ghr_bin-0.3.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: pypi.yml on cataggar/ghr

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

File details

Details for the file ghr_bin-0.3.1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for ghr_bin-0.3.1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 9f6b1dd2e33c890e313e741356d1f1ea0cf1f75796f405cced98fe552bb86e58
MD5 4c6678a5641a60ef81fb60cb9daa808d
BLAKE2b-256 81fca6a31d5d967e34c5d09c0830da0ec95815f2ede4cd77c909b3ddd4db1253

See more details on using hashes here.

Provenance

The following attestation bundles were made for ghr_bin-0.3.1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl:

Publisher: pypi.yml on cataggar/ghr

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

File details

Details for the file ghr_bin-0.3.1-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for ghr_bin-0.3.1-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 eab3dd906414a9841fd6b4ae003f1c8fd75dd047aaeb1f7340aefdf6cc41ccb7
MD5 1038423021503d31a1de2f37467b693d
BLAKE2b-256 6e46b157814dfaec61f66db6442ac1511c18a9bd1560386362727d37b70aef59

See more details on using hashes here.

Provenance

The following attestation bundles were made for ghr_bin-0.3.1-py3-none-macosx_11_0_arm64.whl:

Publisher: pypi.yml on cataggar/ghr

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

File details

Details for the file ghr_bin-0.3.1-py3-none-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for ghr_bin-0.3.1-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 02f8dc4b26c3bba1c0b3799f3f20d968294486dbb5e30e863180b28eaf4cb95a
MD5 d2a697d3ae32fe926207c4f50778df44
BLAKE2b-256 4dfd6af06eece93d412b6d44fe66053e49a695fc13128c0942b078010bb6dce0

See more details on using hashes here.

Provenance

The following attestation bundles were made for ghr_bin-0.3.1-py3-none-macosx_10_9_x86_64.whl:

Publisher: pypi.yml on cataggar/ghr

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