# Install ggh with Homebrew, Nix

Recall your SSH sessions. Version 0.1.5 via Homebrew; verified 2026-07-25. Also installable with nix: nix profile install nixpkgs#ggh.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install ggh
```

  Evidence: local Homebrew formula metadata

### Linux

- Nix (92%):

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

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

## Package facts

- **Package key:** brew:ggh
- **Package manager:** Homebrew
- **Version:** 0.1.5
- **Source summary:** Recall your SSH sessions
- **Homepage:** <https://github.com/byawitz/ggh>
- **Repository:** <https://github.com/byawitz/ggh>
- **Last updated:** 2026-07-25T20:55:22-04:00
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- ggh (alias)

## Install behavior

- Bottle: not available

## Freshness

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

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

### Project history

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.

### Adoption history

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.

### How it is used

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.

### Why package nerds care

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.

### Timeline

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

### Sources

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


## Security Notes

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

- **Geiger risk:** blue / medium
- 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
## Other Package-Manager Records

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


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