lazygit
Terminal UI for performing git commands interactively.
Tested on Linux
Use it
Linux x86_64
Install lazygit binary from GitHub releases
mkdir -p ~/.local/bin && curl -fsSL -o /tmp/lazygit.tar.gz https://github.com/jesseduffield/lazygit/releases/download/v0.66.2/lazygit_0.66.2_linux_x86_64.tar.gz && tar -xzf /tmp/lazygit.tar.gz -C /tmp && mv /tmp/lazygit ~/.local/bin/lazygit && chmod +x ~/.local/bin/lazygit && ~/.local/bin/lazygit --version
Check that it works
lazygit --versionThe output should contain “version=0.66.2”.
First thing to try
cat <<'EOS' >/tmp/setup_lz.sh
#!/bin/bash
set -e
# F1 repo with hunks
rm -rf /tmp/lz_f1 /tmp/lz_f2 /tmp/lz_f3 /tmp/lz_f4
mkdir -p /tmp/lz_f1 && cd /tmp/lz_f1 && git init -q && git config user.email "a@a.com" && git config user.name "a" && echo -e "line1\nline2\nline3\nline4" > file.txt && git add . && git commit -qm "init" && echo -e "line1\nchanged2\nline3\nchanged4" > file.txt
# F2 repo for rebase
mkdir -p /tmp/lz_f2 && cd /tmp/lz_f2 && git init -q && git config user.email "a@a.com" && git config user.name "a" && echo "a" > f.txt && git add . && git commit -qm "c1" && echo "b" >> f.txt && git add . && git commit -qm "c2"
# F3 repo for cherry-pick
mkdir -p /tmp/lz_f3 && cd /tmp/lz_f3 && git init -q && git config user.email "a@a.com" && git config user.name "a" && echo "a" > f.txt && git add . && git commit -qm "c1" && git checkout -qb feature && echo "feature" > feat.txt && git add . && git commit -qm "feat" && git checkout -q master
# F4 repo for bisect
mkdir -p /tmp/lz_f4 && cd /tmp/lz_f4 && git init -q && git config user.email "a@a.com" && git config user.name "a" && echo "a" > f.txt && git add . && git commit -qm "c1" && echo "b" >> f.txt && git add . && git commit -qm "c2" && echo "c" >> f.txt && git add . && git commit -qm "c3" && git bisect start >&/dev/null && git bisect bad HEAD >&/dev/null; git bisect good HEAD~2 >&/dev/null || true
echo "setup done"
EOS
chmod +x /tmp/setup_lz.sh
/tmp/setup_lz.sh
echo "F1 check:" && cd /tmp/lz_f1 && git diff --stat && lazygit --config | grep -q toggleStagedAll && echo "F1_stage_feature_present"What it does
- Stage hunks or individual linesNot shown working
- Perform interactive rebaseNot shown working
- Cherry-pick commitsNot shown working
- Bisect commits to find bugNot tested
How far pickfit got
Linux x86_64
- Installs
- Starts
- 0 of 4 features work
- Works offline
macOS and Windows: the project says it runs there; pickfit hasn’t tried it.
Good for
- stage hunks or individual lines
- do interactive rebase of commits
- cherry-pick commits
- bisect commits to find regression
- reset dirty working tree
How pickfit tested it
Each run starts from a clean machine and follows the steps above. How pickfit verifies
Linux x86_64
Its main function works
- Replayed from scratch
- Works offline
- Checked on 4 Nov 2026
- Version 0.66.2
Differences the test machine hit
- README: sudo xbps-install -S lazygit
In the test: Download linux_x86_64 tarball from GitHub releases and install to ~/.local/bin (no sudo in box)