dandavison/delta
Syntax-highlighting pager for git, diff, grep, and blame output.
Tested on LinuxKnown vulnerabilities
Use it
Before you install: known vulnerabilities
pickfit found 2 known high or critical vulnerabilities in the packages a fresh install brings (OSV.dev, 5 Nov 2026). Weigh this before you install it.
crates:quick-xml 0.32.0Quadratic run time when checking a start tag for duplicate attribute names (RUSTSEC-2026-0194, high, fixed in 0.41.0)
See 1 more
crates:quick-xml 0.32.0— RUSTSEC-2026-0195 (high), fixed in 0.41.0
Linux x86_64
download delta-0.20.1 tarball from github releases
curl -fsSL -L -o /tmp/delta.tar.gz https://github.com/dandavison/delta/releases/download/0.20.1/delta-0.20.1-x86_64-unknown-linux-gnu.tar.gzextract and install delta binary to ~/.local/bin
mkdir -p ~/.local/bin && tar xzf /tmp/delta.tar.gz -C /tmp && cp /tmp/delta-0.20.1-x86_64-unknown-linux-gnu/delta ~/.local/bin/delta && chmod +x ~/.local/bin/delta
Where the README and reality differ
- README: delta --show-syntax-themes --dark runs standalone
What worked: requires piped diff input (e.g. cat sample.diff | delta --show-syntax-themes); without stdin it hangs waiting for input, and --paging=never avoids pager hang
Check that it works
delta --versionThe output should contain “delta 0.20.1”.
First thing to try
cat > /tmp/sample.diff <<'EOF'
diff --git a/example.py b/example.py
index 1111111..2222222 100644
--- a/example.py
+++ b/example.py
@@ -1,5 +1,5 @@
def hello(name):
- print("hello " + name)
+ print(f"hello {name}")
return 42
if __name__ == "__main__":
EOF
cat /tmp/sample.diff
echo "---sample ready---"cat /tmp/sample.diff | delta --show-syntax-themes > /tmp/themes2.txt 2>&1; echo done; wc -l /tmp/themes2.txt; head -n 5 /tmp/themes2.txtWhat it does
- View diffs side-by-side with wrappingTested
- Show line numbers in diffsTested
- Syntax highlight diffs by languageNot shown working
- Highlight word-level changes in diffsNot shown working
How far pickfit got
Linux x86_64
- Installs
- Starts
- 2 of 4 features work
- Works offline
macOS: the project says it runs there; pickfit hasn’t tried it.
Good for
An alternative to diff-highlight and diff-so-fancy.
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.20.1