Skip to content

Installation

Binary download

Download the latest pre-built binary from the releases page.

curl -LO https://github.com/TomzxCode/gh-cached/releases/latest/download/gh-cached-darwin-amd64
chmod +x gh-cached-darwin-amd64
mv gh-cached-darwin-amd64 /usr/local/bin/gh-cached
curl -LO https://github.com/TomzxCode/gh-cached/releases/latest/download/gh-cached-darwin-arm64
chmod +x gh-cached-darwin-arm64
mv gh-cached-darwin-arm64 /usr/local/bin/gh-cached
curl -LO https://github.com/TomzxCode/gh-cached/releases/latest/download/gh-cached-linux-amd64
chmod +x gh-cached-linux-amd64
mv gh-cached-linux-amd64 /usr/local/bin/gh-cached
curl -LO https://github.com/TomzxCode/gh-cached/releases/latest/download/gh-cached-windows-amd64.exe
rename-item gh-cached-windows-amd64.exe gh-cached.exe

Build from source

Requires Go 1.21 or later.

go install github.com/tomzxcode/gh-cached@main

This places the binary at $(go env GOPATH)/bin/gh-cached. Make sure that directory is on your PATH.

Verify

gh-cached --version