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

Uploaded Python 3Windows ARM64

ghr_bin-0.4.1-py3-none-win_amd64.whl (865.2 kB view details)

Uploaded Python 3Windows x86-64

ghr_bin-0.4.1-py3-none-musllinux_1_1_x86_64.whl (690.5 kB view details)

Uploaded Python 3musllinux: musl 1.1+ x86-64

ghr_bin-0.4.1-py3-none-musllinux_1_1_aarch64.whl (686.0 kB view details)

Uploaded Python 3musllinux: musl 1.1+ ARM64

ghr_bin-0.4.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (690.5 kB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

ghr_bin-0.4.1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (686.0 kB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64

ghr_bin-0.4.1-py3-none-macosx_11_0_arm64.whl (648.9 kB view details)

Uploaded Python 3macOS 11.0+ ARM64

ghr_bin-0.4.1-py3-none-macosx_10_9_x86_64.whl (693.9 kB view details)

Uploaded Python 3macOS 10.9+ x86-64

File details

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

File metadata

  • Download URL: ghr_bin-0.4.1-py3-none-win_arm64.whl
  • Upload date:
  • Size: 789.8 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.1-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 0a7d6ff00a0ce4a84170b5dfaa437f4c6a1efaa676e3dce76c3ed0c4cd4ad808
MD5 dbdaa53d40cb7b6b50c9eab35f7a632d
BLAKE2b-256 b75cf57ddea62c084476f2377f86180022511fb56364059ea2aea5d0faed4bf4

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: ghr_bin-0.4.1-py3-none-win_amd64.whl
  • Upload date:
  • Size: 865.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.4.1-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 40ed27aa85673003a662a4df1b5c7ba8df9216759d24fea5caebb40b62007bf4
MD5 7e69b45208d962eefb0791a520a23c23
BLAKE2b-256 dcbd2f4fa48a270979aa7002edb51cbb4d5fa8b09d0255f298a988b0591a7b7c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ghr_bin-0.4.1-py3-none-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 38f0cc62e9bbe6449f5b6f0555d31905583dfe45bcc475670c3f47512e8da436
MD5 b5dcfe7e4ef43966b362aa0292a4c1e7
BLAKE2b-256 27bce6f6371be6644cb927566e5dfae47ddc50729533966651b3ef898a41a7ce

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ghr_bin-0.4.1-py3-none-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 6740bf15650f6944841b8a684d81ae3a9eebdf45fb3fad707c9847578e98e192
MD5 5568667342861ca940692f33e7d18b95
BLAKE2b-256 68e457f007e33f18796093c7b5798146f8e76e1d01430d5cf949e46bf8979fd2

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ghr_bin-0.4.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a994949a0f5c912793197e32f13a1fcd4e374796d75162123683f4989bc75e13
MD5 85f26e11cd3e71806232d5595f2cf31d
BLAKE2b-256 5934fc9cad6e1258caf1fb5bce5587af9b453e77ed640089e57c7b871bd7d0ee

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ghr_bin-0.4.1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 42669884e580415c992eb4ed5390d0ead31cbb854e3c764dd5e20218a53e2536
MD5 dec4ddb85ccbb0ecc1d513d3e816c85f
BLAKE2b-256 135b9f5bec55ff8316165d7518d26b5d65fafab31ae74d1d37e0ec2e1eafba06

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ghr_bin-0.4.1-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c4d8005161ebeaf3668f1f08c820bdd738e3e4218a852d4aa2958d9b4e961ecc
MD5 04a96ef20fe23beaaa61d9c8cfe48eab
BLAKE2b-256 317bea6b82baeb998edc5162793cb2b8cff8f4b4ae46796d369aa8cb76b893a9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ghr_bin-0.4.1-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 dde9e442ce2aa6ab455ed7677add549dc7b7c7c3d9e586e162fb864d459cf82f
MD5 f9869470475c4256f18bc015e1b8de58
BLAKE2b-256 2bceec49dc1e8e0052d82fb7b0a5ef12eb9c947bf7b8877fd161eadd0ce3fa7d

See more details on using hashes here.

Provenance

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