# Install ghi with Homebrew, apk, Nix

Work on GitHub issues on the command-line. Version 1.2.1 via Homebrew; verified from local package data. Also installable with nix: nix profile install nixpkgs#ghi.

## Install

```sh
sudo av install brew:ghi
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install ghi
```

  Evidence: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add ghi
```

  Evidence: Alpine Linux edge package indexes: ghi from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Nix (92%):

```sh
nix profile install nixpkgs#ghi
```

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

## Package facts

- **Package key:** brew:ghi
- **Package manager:** Homebrew
- **Version:** 1.2.1
- **Source summary:** Work on GitHub issues on the command-line
- **Homepage:** <https://github.com/drazisil/ghi>
- **Repository:** <https://github.com/drazisil/ghi>
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- ghi (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 1.2.1
## Project history and usage

ghi is a Ruby command-line client for GitHub Issues, built around the idea that issue work can happen from a terminal and a user's editor instead of a browser.

### Project history

The maintained README states that ghi was originally created by Stephen Celis and later maintained by Drazi Crendraven. The drazisil repository was created in 2017 and published release 1.2.1 in 2022.

### Adoption history

ghi belongs to the older wave of small GitHub command-line tools that predated or complemented larger official CLIs. Its package-manager footprint and gem-style installation kept it useful for users who wanted direct issue commands inside Git repositories.

### How it is used

Practitioners configure a GitHub personal access token with git config --global ghi.token, then use commands such as list, show, open, close, edit, comment, label, assign, and milestone. Because it reads Git configuration, the same file can act as both configuration and credential storage.

### Why package nerds care

For package collectors, ghi is a compact example of Unix-style GitHub automation: one executable, git-config-backed settings, and commands that map closely to issue-tracker actions.

### Timeline

- 2017: The drazisil-maintained repository was created.
- 2022: Release 1.2.1 was published from the maintained repository.

### Related projects

- The maintained README points back to Stephen Celis's original ghi repository and wiki, and relates the tool to GitHub Issues and git config.

### Sources

- <https://api.github.com/repos/drazisil/ghi>
- <https://github.com/drazisil/ghi>
- <https://github.com/drazisil/ghi/releases/tag/1.2.1>
- <https://github.com/stephencelis/ghi>


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: ~/.gitconfig
- Windows: %USERPROFILE%\.gitconfig

## Credential files

- Unix: ~/.gitconfig
- Windows: %USERPROFILE%\.gitconfig
## Other Package-Manager Records

- Nix - ghi: normalized package name match | nixpkgs package indexes: pkgs/by-name/gh/ghi/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - ghi - 1.2.1-r2: normalized package name match | Alpine Linux edge package indexes: ghi from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | GitHub Issues on the command line | https://github.com/drazisil/ghi
- apk - ghi-doc - 1.2.1-r2: normalized package name match | Alpine Linux edge package indexes: ghi-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | GitHub Issues on the command line (documentation) | https://github.com/drazisil/ghi


## Combined YAML source

View the package source record on GitHub. [combined/ghi.yml](https://github.com/mxcl/pkgdb/blob/main/combined/ghi.yml)


## Sources

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
