ghx

by Bruno Borges

A caching proxy for the GitHub CLI that makes repeated commands instant. Singleflight coalescing means 10 agents asking the same thing triggers just 1 API call.

v1.5.2 MIT zip x64

Install with winget

Open PowerShell or Command Prompt and run:

winget install BrunoBorges.ghx

Copied to clipboard!

1Open PowerShell or Command Prompt
2Paste and run the command above
3Follow any on-screen prompts to complete installation

About ghx

A caching proxy for the GitHub CLI (gh) that eliminates redundant API calls, prevents rate limiting, and dramatically speeds up repeated commands. Built for AI agent workflows where multiple agents (Copilot CLI, coding agents, MCP servers) hammer the same gh commands simultaneously. Highlights - 10x faster cached responses (~0.1s vs ~1s) - Singleflight coalescing — 5 agents asking the same thing = 1 API call - Allowlist-based — only caches known-safe read-only commands - Auto-invalidation — mutations flush related cache entries - Web dashboard — real-time hit rates, per-command stats, request log - Drop-in replacement — just use ghx instead of gh - No gh required — auto-downloads GitHub CLI on first use if not installed

clighgithub

Advanced Install Options

Install (latest)winget install BrunoBorges.ghx
Install (pinned version)winget install --id BrunoBorges.ghx -e --version 1.5.2
Upgradewinget upgrade BrunoBorges.ghx
Uninstallwinget uninstall BrunoBorges.ghx

Frequently Asked Questions

How do I install ghx using winget?
Open PowerShell or Windows Terminal and run: winget install BrunoBorges.ghx. Winget comes pre-installed on Windows 10 (1809+) and Windows 11.
What is ghx?
A caching proxy for the GitHub CLI that makes repeated commands instant. Singleflight coalescing means 10 agents asking the same thing triggers just 1 API call.
Is ghx free to use?
ghx is distributed under the MIT license. Check the publisher’s site for full licensing details.
How do I update ghx with winget?
Run winget upgrade BrunoBorges.ghx in PowerShell or Windows Terminal to upgrade to the latest available version.
How do I uninstall ghx?
Run winget uninstall BrunoBorges.ghx to remove ghx from your system.