Installation
Prerequisites
You must have a moderately recent copy of Git installed in your PATH
to
run gg. gg is tested against Git 2.17.1 and newer. Older versions may work, but
are not supported.
Binaries
The latest release is 1.3.1, which was released on . Pre-built binaries are available for Linux, Windows, and macOS.
Linux
Binary packages are available for all Linux systems via Nix:
nix-env -iA nixpkgs.gg-scm
or a binary can be downloaded
from the latest GitHub release
and place it in your PATH
.
Windows
Download and run the .msi installer file from the latest GitHub release. Package manager integration is coming soon.
macOS
gg can be installed from Homebrew:
brew install gg-scm/gg/gg
or Nix:
nix-env -iA nixpkgs.gg-scm
or a binary can be downloaded
from the latest GitHub release
and place it in your PATH
.
Source
If you are using an operating system that Go and Git support but there isn’t a gg binary available, you can try building from source.
What’s Next?
After installing gg, the Working Locally guide will show you how to use the basic commands.