Download go-z-ai
Install with Go
The recommended path — always the latest, needs Go 1.24+.
go install github.com/SamyRai/go-z-ai@latest
Manual install & verification
From a prebuilt binary
tar xzf <archive>.tar.gz
sudo mv go-z-ai /usr/local/bin/
go-z-ai version
On macOS, if Gatekeeper blocks the binary: xattr -d com.apple.quarantine go-z-ai
Verify what you downloaded
# 1) checksum
sha256sum -c checksums.txt
# 2) or the cosign keyless signature
cosign verify-blob \
--certificate <archive>.tar.gz.pem \
--signature <archive>.tar.gz.sig \
<archive>.tar.gz