Installation

Before getting started, obtain a license key by purchasing one from the GG website.

The GG CLI is a single executable for Linux, macOS, and Windows that requires only git. Simply download the precompiled binary and move it to a directory in your $PATH (such as /usr/local/bin or /usr/bin) for system-wide access.

Automated installation

To quickly install the GG CLI, you can run the following script:

curl -sSL https://getgg.dev/release/install.sh | sh

The script will auto-detect your platform and install GG into /usr/local/bin.

Manual installation

To install manually, download the appropriate binary for your platform:

Linux amd64 Linux arm64

macOS amd64 macOS arm64

Windows amd64 Windows arm64

Once downloaded, give the binary executable permissions and move it to /usr/local/bin, or some other directory that's in your $PATH.

chmod +x ./gg_darwin_arm64
mv ./gg_darwin_arm64 /usr/local/bin/gg

Finally, confirm it's installed by running the following:

gg

Was this page helpful?