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

Uploaded Python 3Windows ARM64

ghr_bin-0.3.0-py3-none-win_amd64.whl (858.9 kB view details)

Uploaded Python 3Windows x86-64

ghr_bin-0.3.0-py3-none-musllinux_1_1_x86_64.whl (684.1 kB view details)

Uploaded Python 3musllinux: musl 1.1+ x86-64

ghr_bin-0.3.0-py3-none-musllinux_1_1_aarch64.whl (680.4 kB view details)

Uploaded Python 3musllinux: musl 1.1+ ARM64

ghr_bin-0.3.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (684.2 kB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

ghr_bin-0.3.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (680.4 kB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64

ghr_bin-0.3.0-py3-none-macosx_11_0_arm64.whl (644.0 kB view details)

Uploaded Python 3macOS 11.0+ ARM64

ghr_bin-0.3.0-py3-none-macosx_10_9_x86_64.whl (688.5 kB view details)

Uploaded Python 3macOS 10.9+ x86-64

File details

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

File metadata

  • Download URL: ghr_bin-0.3.0-py3-none-win_arm64.whl
  • Upload date:
  • Size: 784.1 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.0-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 48b5066364c1921a04643195ea206ec8cb6db384f02b4bf61ccdb6b33a4138da
MD5 dad7b2f0235c20e3a3881768e6dcd74d
BLAKE2b-256 5907fc07c6c8c7958e8f12e95f870137b4fa81c16cbb2efadbafb69e2d8e0368

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: ghr_bin-0.3.0-py3-none-win_amd64.whl
  • Upload date:
  • Size: 858.9 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.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 eadd08c11afbecb9f100256f66487c1b976d4c0408bc8974a818dafd6f042d5b
MD5 ead16a7c11a8b72a59c1d58b843eaeda
BLAKE2b-256 27750431e78ff2832257d07eeb0e50e1378528ef7f2f2c6f2cc05ccd1b37142a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ghr_bin-0.3.0-py3-none-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 483b5d3f1adceb3bde33bfd54f661dedf2e598ff761c3a1d33248289106b754e
MD5 50043e21c4d61fafd84143ef8b8be8fb
BLAKE2b-256 318ce8ea48a79828c9afd0f0527ab7bd18c45108a5eb1b06ff42b6db25faedb4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ghr_bin-0.3.0-py3-none-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 853d8e629f3dde17b57caa2ecc124752cabf6828a6c9865ab93c30c2e93dc3ef
MD5 0901d8a965709c717a369bf026c3599f
BLAKE2b-256 c5de5cc895973d03bf6be212305dbeee3cab0027c8a1dbf4301c7014763331ca

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ghr_bin-0.3.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 82b5333b66cdcceac94be216eab1b042a6c0618c61e214f203b6d25b5e7b0cbd
MD5 57f93f8c931e08c8aa60f66dc557e4d8
BLAKE2b-256 38e331c4b083c7f14ca5e2be144659ff519ff9380e21b79fb64a76def13029a6

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ghr_bin-0.3.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 e9565938487217a5b01a9e5a94ce0c04642fc05e9f6670f24815d1532d529832
MD5 27909db43545d954f0540ed0acd80d8f
BLAKE2b-256 03d2adc6ad05c0bd4c55affd03d2c75c69bb4f187bb8f574294e3d1372580613

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ghr_bin-0.3.0-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 bbb7c809fa2b67852d3bc4148dd916eb27ede499ab42c2876108fec4d94b6887
MD5 a477120be092c6e05b595d47160850ca
BLAKE2b-256 340633950a7301c8539a1f0aa4ab8d50d506a853753206758d29444d7da47955

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ghr_bin-0.3.0-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 d98c4a45ad78aef0502307f71160bc6192b25fbe9c59df3bd6891e5cba208214
MD5 b259e84bde70cf36715033c3b2ecacaa
BLAKE2b-256 d10144e1d232cc607232a7290f602c2ee1a8be6bfbb8baa0d2ecf969798f0aa6

See more details on using hashes here.

Provenance

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