Install Zgit

Choose your operating system and preferred method to get started.

Quick Install

One command installs both the terminal client and the desktop app. Re-run anytime to update.

$ curl -fsSL https://zgit.pages.dev/install | bash

Linux

Arch Linux (AUR)
$ yay -S zgit-bin zgit-desktop-bin
Debian / Ubuntu (APT)
$ curl -fsSL https://zaidejjo.github.io/apt/key.asc | sudo gpg --dearmor -o /usr/share/keyrings/zgit.gpg echo "deb [signed-by=/usr/share/keyrings/zgit.gpg] https://zaidejjo.github.io/apt stable main" | sudo tee /etc/apt/sources.list.d/zgit.list sudo apt update && sudo apt install zgit
Go Install
$ go install github.com/zaidejjo/zgit/cmd/zgit@latest
Build from source
$ git clone https://github.com/zaidejjo/zgit.git cd zgit make build sudo mv zgit /usr/local/bin/

macOS

Homebrew
$ brew tap zaidejjo/tap brew trust zaidejjo/tap brew install --cask zaidejjo/tap/zgit
Go Install
$ go install github.com/zaidejjo/zgit/cmd/zgit@latest
Build from source
$ git clone https://github.com/zaidejjo/zgit.git cd zgit make build sudo mv zgit /usr/local/bin/

Windows

PowerShell (recommended)
$ irm https://zgit.pages.dev/install.ps1 | iex
Go Install
$ go install github.com/zaidejjo/zgit/cmd/zgit@latest
Build from source
$ git clone https://github.com/zaidejjo/zgit.git cd zgit make build move zgit.exe %USERPROFILE%\bin\

Next Steps

  • 1.Run zgit to start the TUI.
  • 2.Launch desktop app: zgit-desktop.
  • 3.Configure AI providers in Settings, then generate commit messages with AI.
  • 4.Read the full documentation.