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 with its minisign public key
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
curl -fsSL https://raw.githubusercontent.com/cataggar/ghr/main/install.sh | sh
ghr install cataggar/ghr RWSbsumpaHb+N3KCEt/EUXQ5y6Kkk8r/zCb5Z4jhEuEX8x2/U5wr5QC0

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.1  # 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.4.0-py3-none-win_arm64.whl (787.0 kB view details)

Uploaded Python 3Windows ARM64

ghr_bin-0.4.0-py3-none-win_amd64.whl (863.0 kB view details)

Uploaded Python 3Windows x86-64

ghr_bin-0.4.0-py3-none-musllinux_1_1_x86_64.whl (687.6 kB view details)

Uploaded Python 3musllinux: musl 1.1+ x86-64

ghr_bin-0.4.0-py3-none-musllinux_1_1_aarch64.whl (683.6 kB view details)

Uploaded Python 3musllinux: musl 1.1+ ARM64

ghr_bin-0.4.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (687.6 kB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

ghr_bin-0.4.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (683.6 kB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64

ghr_bin-0.4.0-py3-none-macosx_11_0_arm64.whl (646.6 kB view details)

Uploaded Python 3macOS 11.0+ ARM64

ghr_bin-0.4.0-py3-none-macosx_10_9_x86_64.whl (691.9 kB view details)

Uploaded Python 3macOS 10.9+ x86-64

File details

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

File metadata

  • Download URL: ghr_bin-0.4.0-py3-none-win_arm64.whl
  • Upload date:
  • Size: 787.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.4.0-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 d4b7a9e52671c2159ea811de7fa8d29e1a11d4d3f0cb0add36c88222c92871c7
MD5 457d5c85397146918438de672c99b606
BLAKE2b-256 d4cf4fb10f411a3b3f96563ebd52a9906766f89bc8bca5091c78990dc29a62d3

See more details on using hashes here.

Provenance

The following attestation bundles were made for ghr_bin-0.4.0-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.4.0-py3-none-win_amd64.whl.

File metadata

  • Download URL: ghr_bin-0.4.0-py3-none-win_amd64.whl
  • Upload date:
  • Size: 863.0 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.4.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 d55df04fee79e857225f5444644980aaf65471f39478bb9df4173a8058c18a13
MD5 b28e97aa504396d012d765e44111285a
BLAKE2b-256 50f37da25a97f2b38e2ba69f7ba3f5767d9595a80d7ae60607bffc8a9244835d

See more details on using hashes here.

Provenance

The following attestation bundles were made for ghr_bin-0.4.0-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.4.0-py3-none-musllinux_1_1_x86_64.whl.

File metadata

File hashes

Hashes for ghr_bin-0.4.0-py3-none-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 9891bed92646318272313f7672d573372b83a7180fbacb9271fa5f277a95ffb1
MD5 615015f60b2036362747c2d7b2adce60
BLAKE2b-256 7b7e93b5caee9e39ec11680300af94d9baf26cc9f8b8e043001146fbd9759c2d

See more details on using hashes here.

Provenance

The following attestation bundles were made for ghr_bin-0.4.0-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.4.0-py3-none-musllinux_1_1_aarch64.whl.

File metadata

File hashes

Hashes for ghr_bin-0.4.0-py3-none-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 81e225c027cb36dea50f447465ba373e44f199949a9167c0fcef726822c7d9d5
MD5 9e8141f008e466cd5b6d9465aa2cc867
BLAKE2b-256 2d5881fbc51f100487c7f208a9223c4cc6ed1a56371072f9192098fe94f20dd6

See more details on using hashes here.

Provenance

The following attestation bundles were made for ghr_bin-0.4.0-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.4.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for ghr_bin-0.4.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 14afe8cbd2c4738f7d38c66b764d9fdd06579b4d98df792a4d7f486ea1d6828d
MD5 6feeb9b55d95239d19277ac5c8eba7f6
BLAKE2b-256 d1fe12cfc93540f727cd760e47aa8d8e2a3a4ac5ce5761ed231be0becbce060e

See more details on using hashes here.

Provenance

The following attestation bundles were made for ghr_bin-0.4.0-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.4.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for ghr_bin-0.4.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 952653e229c04904998da262c5fe36bbe27a20bd1444d0d75736a2abc03677e1
MD5 c76e610d3efbe461e36d8ed3de3013e1
BLAKE2b-256 a158fcbf28d8ae34529237fd7cf36b1387537328abab5a99e5bdff25a49d39fd

See more details on using hashes here.

Provenance

The following attestation bundles were made for ghr_bin-0.4.0-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.4.0-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for ghr_bin-0.4.0-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 e413cda127ccbf0a275c08b0608bf4cd37f9c3d2464e5d04123f2969e56b76b1
MD5 421f3cffae73ad6eeaedbbe0711d298a
BLAKE2b-256 5ea57cbc7a8867f324343c81b1edc1dd735d836ae1c6bbb16e284d4d625af5a0

See more details on using hashes here.

Provenance

The following attestation bundles were made for ghr_bin-0.4.0-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.4.0-py3-none-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for ghr_bin-0.4.0-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 d631bb6dda5cb5cc67c1934b34a1245bf80b47b2aed0fe54106df4ed2cde0832
MD5 496c02d23a7c5a0426c9a08563865d5f
BLAKE2b-256 cfe61ac60cb228bda5a7c804a3e3353980383f6d20be7ae1a195b5e8491ace24

See more details on using hashes here.

Provenance

The following attestation bundles were made for ghr_bin-0.4.0-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