Installation

Pick one way to install Elegant Git so the eg command is on your PATH, then continue with getting started.

Using install script

curl -fsSL https://github.com/extsoft/elegant-git/releases/latest/download/install.sh | sh

Need a different directory, a specific release, or a PATH hint? See using the install script.

Using mise

mise use --global "github:extsoft/elegant-git@latest"

Want it only in this project, or to update later? See using mise.

Using Homebrew

brew install extsoft/tools/elegant-git

Need to upgrade, or still on the old tap? See using Homebrew.

Using go install

go install github.com/extsoft/elegant-git/cmd/eg@latest

Need to know where the binary lands, or pin a tag? See using go install.

Upgrading from git-elegant

The binary was renamed from git-elegant to eg. Git no longer finds it as a git-<subcommand> on PATH.

  1. Remove every git-elegant binary from PATH. A leftover copy shadows the alias.elegant git alias, so git elegant … keeps invoking the old program.
  2. Delete stale completion files (~/.local/share/bash-completion/completions/git-elegant and the zsh equivalent).
  3. Install Elegant Git. The first interactive eg command (or eg self configure) writes alias.elegant = "!eg". Leftover aliases from the previous binary are rewritten on their own; eg self doctor shows anything that still needs a decision.

Next steps


This site uses Just the Docs, a documentation theme for Jekyll.