Skip to content

Installation

Binary download

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

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

Build from source

Requires Go 1.21 or later.

go install github.com/tomzxcode/ghx@main

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

Verify

ghx --version