# Install ghr with Homebrew, Nix, winget

Upload multiple artifacts to GitHub Release in parallel. Version 0.18.3 via Homebrew; verified 2026-04-15.

## Install

```sh
sudo av install brew:ghr
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install ghr
```

  Evidence: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#ghr
```

  Evidence: nixpkgs package indexes: pkgs/by-name/gh/ghr/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

### Windows

- winget (92%):

```sh
winget install --id cataggar.ghr -e
```

  Evidence: Windows Package Manager source index: cataggar.ghr from https://cdn.winget.microsoft.com/cache/source.msix

## Package facts

- **Package key:** brew:ghr
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/ghr>
- **Version:** 0.18.3
- **Source summary:** Upload multiple artifacts to GitHub Release in parallel
- **Homepage:** <https://github.com/tcnksm/ghr>
- **Repository:** <https://github.com/tcnksm/ghr>
- **Upstream docs:** <https://github.com/tcnksm/ghr#readme>
- **License:** MIT
- **Source archive:** <https://github.com/tcnksm/ghr/archive/refs/tags/v0.18.3.tar.gz>
- **Last updated:** 2026-04-15T17:45:20Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- ghr (cli)
- ghr (alias)

## Build dependencies

- go

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 0.18.3
- Package-manager updated: 2026-04-15
- Local data: ok
- Upstream repository: https://github.com/tcnksm/ghr
- Upstream latest detected: v0.18.3 (current)
## Project history and usage

ghr is a release-engineering CLI for creating GitHub Releases and uploading release artifacts in parallel.

### Project history

The ghr repository was created in July 2014, with an initial v0.1.0 release published days later. Its README presents a Go-oriented release workflow: build artifacts, tag a release, and use `ghr TAG PATH` to create a GitHub Release and upload the files.

The tool developed around the practical needs of release automation: reading repository information from `.git/config`, accepting `GITHUB_TOKEN`, supporting GitHub Enterprise through `GITHUB_API`, replacing or recreating assets, marking draft or prerelease releases, and later exposing a GitHub Action wrapper for workflow files.

### Adoption history

ghr became useful in the era when projects began publishing multi-platform binaries as GitHub Release assets. The README's demo centers on cross-compiled Go binaries, and the documented Action support shows how the same tool moved into CI-based release pipelines.

### How it is used

Practitioners use ghr after a build job has produced a directory of archives, checksums, installers, or other assets. A typical run supplies a tag and path, with optional title, body, commitish, draft, prerelease, replace, delete, generated notes, and parallel upload settings.

### Why package nerds care

Package nerds care about ghr because it is release plumbing: it turns build output into a GitHub Release page with assets, which downstream package managers and install scripts often consume.

### Timeline

- 2014: GitHub repository created.
- 2014: v0.1.0 initial release published.
- 2021: GitHub automatic release notes support arrived in GitHub, and ghr later documented a `-generatenotes` flag.
- 2020s: README documents a reusable GitHub Action interface.

### Related projects

- The README compares ghr with aktau/github-release and connects it to GitHub Releases, GitHub Enterprise, GitHub Actions, Go cross-compilation, checksums, and CI build artifacts.

### Sources

- <https://api.github.com/repos/tcnksm/ghr>
- <https://github.com/tcnksm/ghr>
- <https://github.com/tcnksm/ghr#readme>
- <https://github.com/tcnksm/ghr/releases/tag/v0.1.0>
- <https://pkg.go.dev/github.com/tcnksm/ghr>


## Security Notes

broad file, network, media, or database tool signal.

- **Geiger risk:** blue / medium
- broad file, network, media, or database tool signal

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** ghr
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## Other Package-Manager Records

- Nix - ghr: normalized package name match | nixpkgs package indexes: pkgs/by-name/gh/ghr/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- winget - cataggar.ghr: normalized package name match | Windows Package Manager source index: cataggar.ghr from https://cdn.winget.microsoft.com/cache/source.msix


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://www.automicvault.com/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [go](https://www.automicvault.com/pkg/brew/go/) - Build dependency declared by Homebrew.
- [commitizen](https://www.automicvault.com/pkg/brew/commitizen/) - Shares av.db curated category or tags: cli, developer-tools, release-management.
- [github-release](https://www.automicvault.com/pkg/brew/github-release/) - Shares av.db curated category or tags: cli, developer-tools, release-management.
- [gitlab-release-cli](https://www.automicvault.com/pkg/brew/gitlab-release-cli/) - Shares av.db curated category or tags: cli, developer-tools, release-management.
- [gitversion](https://www.automicvault.com/pkg/brew/gitversion/) - Shares av.db curated category or tags: cli, developer-tools, release-management.
- [changelogen](https://www.automicvault.com/pkg/brew/changelogen/) - Shares av.db curated category or tags: cli, developer-tools, release-management.
- [changie](https://www.automicvault.com/pkg/brew/changie/) - Shares av.db curated category or tags: cli, developer-tools, release-management.
- [cocogitto](https://www.automicvault.com/pkg/brew/cocogitto/) - Shares av.db curated category or tags: cli, developer-tools, release-management.
- [convco](https://www.automicvault.com/pkg/brew/convco/) - Shares av.db curated category or tags: cli, developer-tools, release-management.
- [nvchecker](https://www.automicvault.com/pkg/brew/nvchecker/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, management, release.

## Combined YAML source

View the package source record on GitHub. [combined/ghr.yml](https://github.com/automic-vault/db/blob/main/combined/ghr.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
