macOS
brew install ghqlocal Homebrew formula metadata
sudo port install ghqMacPorts ports tree · sysutils/ghq/Portfile · source: api.github.com
brew
Remote repository management made easy. Version 1.10.1 via Homebrew; verified 2026-04-11.
install
brew install ghqlocal Homebrew formula metadata
sudo port install ghqMacPorts ports tree · sysutils/ghq/Portfile · source: api.github.com
sudo apk add ghqAlpine Linux edge package indexes · ghq · source: dl-cdn.alpinelinux.org
nix profile install nixpkgs#ghqnixpkgs package indexes · pkgs/by-name/gh/ghq/package.nix · source: api.github.com
sudo pacman -S ghqArch Linux sync databases · ghq · source: geo.mirror.pkgbuild.com
scoop install main/ghqScoop official bucket manifest trees · bucket/ghq.json · source: api.github.com
winget install --id x-motemen.ghq -eWindows Package Manager source index · x-motemen.ghq · source: cdn.winget.microsoft.com
overview
Remote repository management made easy
history
ghq is a command-line repository manager that gives remote Git and other VCS clones a predictable local directory layout.
The ghq repository was created in 2013. Its README describes the tool as a way to organize remote repository clones like `go get`: a `ghq get` command places a checkout under a root directory, using the remote URL host and path as the local directory structure.
The project grew from a simple clone-and-list helper into a workspace manager with multiple roots, git-config based settings, support for several VCS backends, repository removal, migration of existing repositories into ghq layout, shallow and partial clone options, shell completions, and Windows packaging.
ghq has a durable following among developers who keep many open-source and work repositories on one machine. Its official README lists installation paths through Homebrew, Void Linux, GNU Guix, Scoop, Go install, conda, asdf, mise, source build, and release binaries.
Practitioners use ghq to fetch repositories into `~/ghq` or another configured root, list known checkouts, pipe repository paths into fuzzy finders or editors, remove managed clones, and migrate older working trees into a consistent host/user/project hierarchy.
Package nerds care about ghq because it turns a developer's source tree into an indexable package-like store. It is small, scriptable, and especially useful when combined with shell functions, fuzzy search, and editor launchers.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
local files
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.
Config paths the tool may read or write during local use.
~/.gitconfigexecutables
| Command | Kind | Exposure | Note |
|---|---|---|---|
ghq | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/x-motemen/ghq
install metadata
| Package key | brew:ghq |
|---|---|
| Version | 1.10.1 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/ghq |
| Homepage | https://github.com/x-motemen/ghq |
| Repository | https://github.com/x-motemen/ghq |
| Upstream docs | https://github.com/x-motemen/ghq#readme |
| License | MIT |
| Source archive | https://github.com/x-motemen/ghq.git |
| Last updated | 2026-04-11T17:29:40Z |
| Pulse | updated |
| Build dependencies | go |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | ghq |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
ghq
nix profile install nixpkgs#ghqghq 1.8.0-r11
CLI to manage remote repository clones
https://github.com/x-motemen/ghq
sudo apk add ghqghq-bash-completion 1.8.0-r11
Bash completions for ghq
https://github.com/x-motemen/ghq
sudo apk add ghq-bash-completionghq-doc 1.8.0-r11
CLI to manage remote repository clones (documentation)
https://github.com/x-motemen/ghq
sudo apk add ghq-docghq-fish-completion 1.8.0-r11
Fish completions for ghq
https://github.com/x-motemen/ghq
sudo apk add ghq-fish-completionghq-zsh-completion 1.8.0-r11
Zsh completions for ghq
https://github.com/x-motemen/ghq
sudo apk add ghq-zsh-completionghq 1.10.1-1
Remote repository management made easy
https://github.com/x-motemen/ghq
sudo pacman -S ghqghq
sudo port install ghqmain/ghq
scoop install main/ghqx-motemen.ghq
winget install --id x-motemen.ghq -esource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.