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 add [--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
iwr -useb https://raw.githubusercontent.com/cataggar/ghr/main/install.ps1 | iex
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.5.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.5.1 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.5.2-py3-none-win_arm64.whl (840.3 kB view details)

Uploaded Python 3Windows ARM64

ghr_bin-0.5.2-py3-none-win_amd64.whl (920.1 kB view details)

Uploaded Python 3Windows x86-64

ghr_bin-0.5.2-py3-none-musllinux_1_1_x86_64.whl (744.4 kB view details)

Uploaded Python 3musllinux: musl 1.1+ x86-64

ghr_bin-0.5.2-py3-none-musllinux_1_1_aarch64.whl (738.4 kB view details)

Uploaded Python 3musllinux: musl 1.1+ ARM64

ghr_bin-0.5.2-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (744.4 kB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

ghr_bin-0.5.2-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (738.4 kB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64

ghr_bin-0.5.2-py3-none-macosx_11_0_arm64.whl (701.9 kB view details)

Uploaded Python 3macOS 11.0+ ARM64

ghr_bin-0.5.2-py3-none-macosx_10_9_x86_64.whl (752.6 kB view details)

Uploaded Python 3macOS 10.9+ x86-64

File details

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

File metadata

  • Download URL: ghr_bin-0.5.2-py3-none-win_arm64.whl
  • Upload date:
  • Size: 840.3 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.5.2-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 03a93326a5d53bf76eab2cb688040def7c96cf57cafaeb75148904c74e39a1fa
MD5 3c2b60ec3070976d28e0cf3285527376
BLAKE2b-256 f0babee4614391c8837834b7acfa97ea603795543f79d7b7b18ad79a3558abc8

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: ghr_bin-0.5.2-py3-none-win_amd64.whl
  • Upload date:
  • Size: 920.1 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.5.2-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 645343a225c3548afcd9d702151da410e5ca58f5b3ec74d7fccbee2cf66827f5
MD5 d05958a875b9960a6dfd4a240d41eb37
BLAKE2b-256 7372df2fccf6650052993d7863f3bd847d11b1db9ab2ec0bccd9011df7079b41

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ghr_bin-0.5.2-py3-none-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 8dc89fd659a385e8cee64630d514d0bb24e5b12dfd959fd84521780ba43f05c8
MD5 befb5a002d8c3b38ee182ca86fc2ea16
BLAKE2b-256 cdba6bf7f362d1ea62ba06ebf8a714fadb41f9b2af77c87e7d51f5dcb2f0d00f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ghr_bin-0.5.2-py3-none-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 8b4e59c0a19eb1ac6b6fab960118a6a350db8a599f1b5b8d3aa096a407169922
MD5 bb91c34a10ac9accaad14d3b1a789e9b
BLAKE2b-256 5b6a00ae5d5b222fd48055db8f90c3145412af71e3bffa8d5c7b8b0176795122

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ghr_bin-0.5.2-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c0290c472be5643b50e1f6a7a066e76e72c59f6ea292eb31738cebf4fc866b14
MD5 da500309a67882967f12d722ec17f00c
BLAKE2b-256 3ff5e5813d9c965b037d940ac52e590f3e377501a2b085175c4f1225a787e58b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ghr_bin-0.5.2-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 785793767a75c49e1b4251c7e14105896cbac849d18efed1bd9e58b9c38a479c
MD5 7005f9b2427eacd56608fadfd16ce896
BLAKE2b-256 556d6e3c3a24c20b6d81712dbf0440ec7a4212bec0df939226077b408109b6e3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ghr_bin-0.5.2-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 dd001db2246249c1185c193a345a9d68829515a5a545714b15f35facb6b51d7a
MD5 6f45240187bc46b8aada6a2e22c21d01
BLAKE2b-256 3e0bd8128c00e46aaafe6b4bce6d03ac6ef1a4020683aa1f7b48d1081ec3f41e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ghr_bin-0.5.2-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 8ffc05a530c88034932a1b29bf0b21a1254ea8850d466285fe56f794ad25b140
MD5 7a2ae8825082aebfdbea5d0373630874
BLAKE2b-256 ae6c4ded6fd3c303084e37557e051cc0784604ff3dd6106cfd361705085d7d68

See more details on using hashes here.

Provenance

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