Install with winget
Open PowerShell or Command Prompt and run:
winget install x-motemen.ghq
Copied to clipboard!
1Open PowerShell or Command Prompt
2Paste and run the command above
3Follow any on-screen prompts to complete installation
About ghq
'ghq' provides a way to organize remote repository clones, like go get does. When you clone a remote repository by ghq get, ghq makes a directory under a specific root directory (by default ~/ghq) using the remote repository URL’s host and path.
Advanced Install Options
Install (latest)
winget install x-motemen.ghqInstall (pinned version)
winget install --id x-motemen.ghq -e --version 1.8.0Upgrade
winget upgrade x-motemen.ghqUninstall
winget uninstall x-motemen.ghqFrequently Asked Questions
How do I install ghq using winget?
Open PowerShell or Windows Terminal and run:
winget install x-motemen.ghq. Winget comes pre-installed on Windows 10 (1809+) and Windows 11.What is ghq?
Manage remote repository clones
Is ghq free to use?
ghq is distributed under the MIT license. Check the publisher’s site for full licensing details.
How do I update ghq with winget?
Run
winget upgrade x-motemen.ghq in PowerShell or Windows Terminal to upgrade to the latest available version.How do I uninstall ghq?
Run
winget uninstall x-motemen.ghq to remove ghq from your system.