# 使用 Homebrew, Nix 安装 ggh

查看 ggh 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:ggh
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install ggh
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#ggh
```

  证据: nixpkgs package indexes: pkgs/by-name/gg/ggh/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:ggh
- **软件包管理器:** Homebrew
- **版本:** 0.1.5
- **来源摘要:** Recall your SSH sessions
- **主页:** <https://github.com/byawitz/ggh>
- **仓库:** <https://github.com/byawitz/ggh>
- **最后更新:** 2026-07-25T20:55:22-04:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- ggh (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 0.1.5
## 项目历史与用法

ggh is a lightweight SSH wrapper that remembers SSH invocations and searches entries from a user's SSH configuration.

### 项目历史

The byawitz/ggh repository was created in August 2024 and published its v0.1.0 release the same day. The README identifies GGH as a small wrapper around SSH rather than a replacement for OpenSSH, and the repository later added install scripts and release binaries for Unix-like systems and Windows.

### 采用历史

ggh spread through the ordinary small-CLI route: GitHub releases, `go install`, Homebrew packaging, Nix packaging, and AUR packages. Its appeal is practical rather than platform-defining: it gives terminal users a recall list for SSH targets without adopting a heavier connection manager.

### 使用方式

Practitioners invoke `ggh` like `ssh` for direct connections, run it without arguments to select from previous sessions, run `ggh -` to browse `~/.ssh/config`, and use `--config` or `--history` for non-interactive listing.

### 为什么软件包爱好者会关心

The package is a good example of a small Go utility that turns shell history and SSH config conventions into a dedicated executable while still depending on the system SSH client.

### 时间线

- 2024: The GitHub repository was created and v0.1.0 was published.
- 2024: v0.1.4 was published.
- 2025: v0.1.5 was published.

### Related projects

- ggh is related to OpenSSH and to terminal fuzzy-selection workflows, but it deliberately stays a wrapper around the installed `ssh` executable.

### 来源

- <https://api.github.com/repos/byawitz/ggh>
- <https://api.github.com/repos/byawitz/ggh/releases>
- <https://aur.archlinux.org/packages/ssh-ggh>
- <https://formulae.brew.sh/formula/ggh>
- <https://github.com/byawitz/ggh>
- <https://raw.githubusercontent.com/byawitz/ggh/master/readme.md>


## 安全说明

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

- **Geiger 风险:** blue / 中
- broad file, network, media, or database tool signal


## 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: ~/.ssh/config
## 其他软件包管理器记录

- Nix - ggh: normalized package name match | nixpkgs package indexes: pkgs/by-name/gg/ggh/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## Combined YAML source

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