# ghi を Homebrew, apk, Nix でインストール

ghi のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

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

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install ghi
```

  証拠: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add ghi
```

  証拠: 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
```

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

## パッケージ情報

- **パッケージキー:** brew:ghi
- **パッケージマネージャ:** Homebrew
- **バージョン:** 1.2.1
- **ソース概要:** Work on GitHub issues on the command-line
- **ホームページ:** <https://github.com/drazisil/ghi>
- **リポジトリ:** <https://github.com/drazisil/ghi>
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- ghi (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 1.2.1
## プロジェクトの歴史と使われ方

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.

### プロジェクトの歴史

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.

### 採用の歴史

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.

### 使われ方

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.

### パッケージ好きにとっての重要性

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.

### タイムライン

- 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.

### ソース

- <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>


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- 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
## 他のパッケージマネージャ記録

- 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)


## ソース

- 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
