Skip to main content

Install tools from GitHub releases

Project description

ghr

Install tools from GitHub releases.

Usage

ghr install <owner/repo[@tag]>   Install a tool from a GitHub release
ghr uninstall <name>             Remove an installed tool
ghr list                         List installed tools
ghr upgrade [name]               Upgrade installed tools
ghr run <owner/repo[@tag]>       Run a tool without installing
ghr dir [--bin] [--cache]        Show ghr directories

Examples

# Install latest release
ghr install ctaggart/zig

# Install a specific tag (URL-encoded '+' handled transparently)
ghr install ctaggart/zig@v0.16.0-dev.3153+d6f43caad

# Show where tools are stored
ghr dir

# Show where binaries are symlinked
ghr dir --bin

Directories

Follows uv tool conventions.

Purpose Unix Windows
Binaries ~/.local/bin/ %USERPROFILE%\.local\bin\
Tool storage ~/.local/share/ghr/tools/ %APPDATA%\ghr\data\tools\
Cache ~/.cache/ghr/ %LOCALAPPDATA%\ghr\cache\

Override with GHR_BIN_DIR, GHR_TOOL_DIR, GHR_CACHE_DIR.

Build

Requires Zig 0.15+.

zig build
zig build run -- --help
zig build test

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.1.0.dev1-py3-none-win_arm64.whl (62.1 kB view details)

Uploaded Python 3Windows ARM64

ghr_bin-0.1.0.dev1-py3-none-win_amd64.whl (65.3 kB view details)

Uploaded Python 3Windows x86-64

ghr_bin-0.1.0.dev1-py3-none-musllinux_1_1_x86_64.whl (57.1 kB view details)

Uploaded Python 3musllinux: musl 1.1+ x86-64

ghr_bin-0.1.0.dev1-py3-none-musllinux_1_1_aarch64.whl (57.0 kB view details)

Uploaded Python 3musllinux: musl 1.1+ ARM64

ghr_bin-0.1.0.dev1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (57.1 kB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

ghr_bin-0.1.0.dev1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (57.0 kB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64

ghr_bin-0.1.0.dev1-py3-none-macosx_11_0_arm64.whl (61.2 kB view details)

Uploaded Python 3macOS 11.0+ ARM64

ghr_bin-0.1.0.dev1-py3-none-macosx_10_9_x86_64.whl (61.5 kB view details)

Uploaded Python 3macOS 10.9+ x86-64

File details

Details for the file ghr_bin-0.1.0.dev1-py3-none-win_arm64.whl.

File metadata

  • Download URL: ghr_bin-0.1.0.dev1-py3-none-win_arm64.whl
  • Upload date:
  • Size: 62.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.1.0.dev1-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 1534ad4873db4f97656d583792bec0ef72c64d486c58b19097d994ffd9a44588
MD5 50aa77ec1db1715037f5a3c371a14eea
BLAKE2b-256 23d0690ef4fd6dac8f2c843637b38777034b21ec241a3ab6c9fa786704c60d71

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: ghr_bin-0.1.0.dev1-py3-none-win_amd64.whl
  • Upload date:
  • Size: 65.3 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.1.0.dev1-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 7cd4a98b657dbdddf316e1088cc61d5828a7e5b87b2af754a265043fa1b5e12f
MD5 6edcdbefb199d2feaefa29fd44b087e1
BLAKE2b-256 016fa6e92a4838f65d2814069ea8f95f71a24b4fb7e6793e90dd98ffe682272b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ghr_bin-0.1.0.dev1-py3-none-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 8a108bd24da94e81088e83887a29e7cc0fec7d0d275c3a136ea1997792e7375a
MD5 fe67d75960675abb78f740dc37890ae5
BLAKE2b-256 47917187f5883e77abeb2f3d8ab12a572601b869e05dde8ffc3ec57630349389

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ghr_bin-0.1.0.dev1-py3-none-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 8b3e75d33682f3503da88a1d3476de9335b31e22c9f269d124ca955c0789d773
MD5 3073aef4c9891870d65e58b587fcecac
BLAKE2b-256 03458ce56a06ade2339ccd25f469d3126955a642eda700218c63d1d3ed61822d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ghr_bin-0.1.0.dev1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 fe9883112ddd2cc2e2ffd22878f51b2dcb0e9e3b9e6364b35912036a495470bc
MD5 62e40fd9dc02e1505a0aabb9b0010b9f
BLAKE2b-256 7998fe7386ff5d1b587fac6c1efadfd3e05ecd78082a32740cc948195ffc7437

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ghr_bin-0.1.0.dev1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 b40959e986c7d9e10629220eb3d264796b298577cfb50d20a7cf73cb8dadbfe9
MD5 d4e7b167db89608876ef681f7016fb92
BLAKE2b-256 750bd4ee881423c40447fb4dbe74f3f81e3a2b59f3e5342b19206ae5b2f45572

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ghr_bin-0.1.0.dev1-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 bd866b2b9ac5463756f906e448762faa0d6fdc2cb64fdb4f20f6c7a0fcc910a8
MD5 1b6ac9f138b81d25a3cd71a53554ec1b
BLAKE2b-256 c61af22502385b79593a917590b97482ba79252109c3f9b0e592f02f1ece2fad

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ghr_bin-0.1.0.dev1-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 72b73535ae368ded432aba2bfedbb8e6a7230f60ef227929188204be4aaf6228
MD5 2c59df35cedaa1342217c5e8bb1d5f3b
BLAKE2b-256 ee4b7c50480bd295de5782af49621569addb2a92725023f57cf314010dc098fc

See more details on using hashes here.

Provenance

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