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.3.2-py3-none-win_arm64.whl (784.7 kB view details)

Uploaded Python 3Windows ARM64

ghr_bin-0.3.2-py3-none-win_amd64.whl (860.2 kB view details)

Uploaded Python 3Windows x86-64

ghr_bin-0.3.2-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.2-py3-none-musllinux_1_1_aarch64.whl (681.0 kB view details)

Uploaded Python 3musllinux: musl 1.1+ ARM64

ghr_bin-0.3.2-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (685.3 kB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

ghr_bin-0.3.2-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (681.0 kB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64

ghr_bin-0.3.2-py3-none-macosx_11_0_arm64.whl (644.6 kB view details)

Uploaded Python 3macOS 11.0+ ARM64

ghr_bin-0.3.2-py3-none-macosx_10_9_x86_64.whl (689.7 kB view details)

Uploaded Python 3macOS 10.9+ x86-64

File details

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

File metadata

  • Download URL: ghr_bin-0.3.2-py3-none-win_arm64.whl
  • Upload date:
  • Size: 784.7 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.2-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 878f5ec3ba48db24cbb0af85cd194ea99c0a86048f89878599fcbf5e32fab47c
MD5 3686d131f1d4ab5ec12a6a16bacc3b36
BLAKE2b-256 1951e6fdfb7251a599ae6cfe0d91d606177ff8ded357c7635af036e50a0a3a34

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: ghr_bin-0.3.2-py3-none-win_amd64.whl
  • Upload date:
  • Size: 860.2 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.2-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 3b9e410143900a7f3bcd2ee8a31ca0718f4bca2ac52622db17a1717c5272ddb7
MD5 92184f2f17ec39becb9d66eb38839189
BLAKE2b-256 f25b1106b5cfadc85821674616bcadee1d84eb545b900d2d22d45f0599cd6d4d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ghr_bin-0.3.2-py3-none-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 2506b42081454c403102691321b438fcbd5436fc722f97615b534ff08a46811c
MD5 7ff696469af8e1e52285c7267d1d8064
BLAKE2b-256 d238bc74fbaade1f164bd122315019f4b2bf31f53aadf31b073ebd4e02c93383

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ghr_bin-0.3.2-py3-none-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 e74eb442437c989ab161fca49bb733bfc0ed35bcf1292fe6a79ed161a88e8c31
MD5 7a2906c08b58a96c06759d8d1b625f4d
BLAKE2b-256 65f45480826461dcedc7fd6adf1ba42f1bc9bbcafd92b08050a68cf1ac4ed9d9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ghr_bin-0.3.2-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d669d64f9155c39e276c178d42b0b5bb8faa7b7b66bbf32a039fa0407cc8fdc2
MD5 5268103cbc6dc039e05ce642cb0d69f9
BLAKE2b-256 1feeed6be0717d9c139c8d876b3cda67a1d75de68f47d91fe0373079b7086a7f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ghr_bin-0.3.2-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 0ebd432d6a1c405b2fce0a32711267f7be9d43e8bceefeca390e81205273143d
MD5 811a8a565fdb72867d6694d2bc55361f
BLAKE2b-256 936d7ce619abb2d27150fb121fc92a6b8deeed3655829b4dadc46aca059d0d3d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ghr_bin-0.3.2-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 6caf196288c870272dede8be956fe289e37a631f8b2037c93dd9c5b31159d1c2
MD5 fc9c02575a647cb437c4bd7861a90e1a
BLAKE2b-256 b4dcac926cec9ee8d41ea2451a543bfa85f883f59af0a2c3508a4f6068971f22

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ghr_bin-0.3.2-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 78fd58beb7c8cd239b17172739409058c183c749d35c2132bd92eb5920764ec4
MD5 f08ff51a018f4b17167cf02fb650b000
BLAKE2b-256 dd5fba1e04abe99e81c1c6dd1c473e7d8d93313f384a9cc957dc0b30ba1a88ba

See more details on using hashes here.

Provenance

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