macOS
brew install ghqlocal Homebrew formula metadata
sudo port install ghqMacPorts ports tree · sysutils/ghq/Portfile · 来源: api.github.com
安装
brew install ghqlocal Homebrew formula metadata
sudo port install ghqMacPorts ports tree · sysutils/ghq/Portfile · 来源: api.github.com
sudo apk add ghqAlpine Linux edge package indexes · ghq · 来源: dl-cdn.alpinelinux.org
nix profile install nixpkgs#ghqnixpkgs package indexes · pkgs/by-name/gh/ghq/package.nix · 来源: api.github.com
sudo pacman -S ghqArch Linux sync databases · ghq · 来源: geo.mirror.pkgbuild.com
scoop install main/ghqScoop official bucket manifest trees · bucket/ghq.json · 来源: api.github.com
winget install --id x-motemen.ghq -eWindows Package Manager source index · x-motemen.ghq · 来源: cdn.winget.microsoft.com
概览
Remote repository management made easy
历史
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.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
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.
~/.gitconfig可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
ghq | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/x-motemen/ghq
安装元数据
| 软件包键 | brew:ghq |
|---|---|
| 版本 | 1.10.1 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/ghq |
| 主页 | https://github.com/x-motemen/ghq |
| 仓库 | https://github.com/x-motemen/ghq |
| 上游文档 | https://github.com/x-motemen/ghq#readme |
| 许可证 | MIT |
| 源码归档 | https://github.com/x-motemen/ghq.git |
| 构建依赖 | go |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| 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 |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
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 -e来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.