# gcli を Homebrew, apk, apt, MacPorts, Nix でインストール

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

## インストール

```sh
sudo av install brew:gcli
```

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

### macOS

- Homebrew (100%):

```sh
brew install gcli
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install gcli
```

  証拠: MacPorts ports tree: devel/gcli/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add gcli
```

  証拠: Alpine Linux edge package indexes: gcli from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install gcli
```

  証拠: Debian stable package indexes: gcli from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- Nix (92%):

```sh
nix profile install nixpkgs#gcli
```

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

## パッケージ情報

- **パッケージキー:** brew:gcli
- **パッケージマネージャ:** Homebrew
- **バージョン:** 2.12.0
- **ソース概要:** Portable Git(hub|lab|tea)/Forgejo/Bugzilla CLI tool
- **ホームページ:** <https://herrhotzenplotz.de/gcli/>
- **リポジトリ:** <https://github.com/herrhotzenplotz/gcli>
- **最終更新:** 2026-07-19T08:27:55Z
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- gcli (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

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

GCLI is a portable command-line client for working with multiple software forges through one interface. Its README frames the project as an answer to single-forge tools: instead of remembering separate commands for GitHub, GitLab, Gitea, Forgejo, and Bugzilla, GCLI presents a shared CLI.

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

The public GitHub repository was created in October 2021, while the project homepage and README both point to Sourcehut, GitLab, and GitHub development surfaces. The project is written as a small, portable C tool with few dependencies, manual pages, built-in help, and support for scripted and interactive use.

### 採用の歴史

The project homepage says GCLI is available in various distributions and asks users to submit packages for their preferred operating systems. The README lists tested systems across BSDs, Solaris and OmniOS, Debian and Devuan, Gentoo, Fedora, Alpine, Haiku, Minix, Darwin, and Windows/MSYS2, which signals a portability-first package culture.

### 使われ方

GCLI manages issues, merge requests, continuous integration, releases, and milestones from the terminal. It also integrates with Git and GoT, and its preferred contribution workflow is mailing-list based, with GitLab and GitHub mirrors accepted as alternatives.

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

GCLI is interesting because it deliberately avoids the modern pattern of one CLI per forge. For package maintainers, the notable traits are the C implementation, small dependency set, manual-page documentation, broad Unix portability testing, and explicit support for old-school email patch workflows.

### タイムライン

- 2021: GitHub records the public GCLI repository creation.
- 2024: The official release archive contains the 1.0 and 2.x release series.
- 2026: The release archive lists 2.12.0, and the repository remained active in June 2026.

### Related projects

- GitHub CLI is named by the README as the single-forge contrast that motivated GCLI.
- GitLab, Gitea, Forgejo, GitHub, and Bugzilla are supported services.
- Git and GoT are supported version-control integrations.

### ソース

- <https://api.github.com/repos/herrhotzenplotz/gcli>
- <https://github.com/herrhotzenplotz/gcli>
- <https://herrhotzenplotz.de/gcli>
- <https://herrhotzenplotz.de/gcli/releases/>
- <https://raw.githubusercontent.com/herrhotzenplotz/gcli/master/README.md>


## セキュリティノート

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: ~/.config/gcli/config

## Credential files

- Unix: ~/.config/gcli/config
## 他のパッケージマネージャ記録

- Debian apt - gcli - 2.3.0-1: normalized package name match | Debian stable package indexes: gcli from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Git Forge CLI | https://herrhotzenplotz.de/gcli/
- Nix - gcli: normalized package name match | nixpkgs package indexes: pkgs/by-name/gc/gcli/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - gcli - 2.2.0-1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: gcli from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Git Forge CLI | https://herrhotzenplotz.de/gcli/
- apk - gcli - 2.9.1-r1: normalized package name match | Alpine Linux edge package indexes: gcli from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Portable GitHub/GitLab/Gitea CLI tool | https://herrhotzenplotz.de/gcli/
- apk - gcli-doc - 2.9.1-r1: normalized package name match | Alpine Linux edge package indexes: gcli-doc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Portable GitHub/GitLab/Gitea CLI tool (documentation) | https://herrhotzenplotz.de/gcli/
- MacPorts - gcli: normalized package name match | MacPorts ports tree: devel/gcli/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/gcli.yml](https://github.com/mxcl/pkgdb/blob/main/combined/gcli.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
