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.
- Remove every
git-elegantbinary fromPATH. A leftover copy shadows thealias.elegantgit alias, sogit elegant …keeps invoking the old program. - Delete stale completion files (
~/.local/share/bash-completion/completions/git-elegantand the zsh equivalent). - Install Elegant Git. The first interactive
egcommand (oreg self configure) writesalias.elegant = "!eg". Leftover aliases from the previous binary are rewritten on their own;eg self doctorshows anything that still needs a decision.
Next steps
- Getting started — configure Git, onboard a repository, try
eg work