Command-line tool
ghq
brew/ghq
Checked 25 Oct 2026, 21:09 UTC · Listing refreshed from Homebrew, winget, npm, Scoop and cargo; npm packages checked against OSV.dev
Remote repository management made easy git
At a glance
- Type
- Command-line tool
- Install on
- Windows, macOS, Linux
- Last checked
- 25 Oct 2026, 21:09 UTC
Install it
Windows
winget install --id x-motemen.ghq -e scoop install ghq
macOS
brew install ghq
Linux
brew install ghq
Clone a repository under the `ghq` root directory (default is `~/ghq`)
ghq get repository_url
Clone a repository from a user/project format (defaults to GitHub)
ghq get user/project
Clone a repository and `cd` into it
ghq get repository_url --look
Related command-line tools
- gitwatch
Watch a file or folder and automatically commit changes to a git repo easily - mercurial
Scalable distributed version control system version-control vcs 版本控制系统 版本控制 水银 - fossil
Distributed software configuration management foss project-management all-in-one autosync self-host-friendly… - git-annex
Manage files with git without checking in file contents - monika
Synthetic monitoring made easy - dcp
Docker cp made easy - rad
Modern CLI scripts made easy - pgroll
Postgres zero-downtime migrations made easy
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents