delta
A syntax-highlighting pager for git, diff, and grep output.
delta is a syntax-highlighting pager for git, diff, grep, and similar tools that produce unified diffs. Pointed at git config core.pager, it transforms the daily git diff and git log experience: side-by-side or unified diffs, syntax-highlighted code, improved hunk headers with file paths and line numbers, and an option to fold pure whitespace changes.
Dan Davison started delta in 2019 and writes it in Rust. The configuration is layered: a small default theme, plus optional themes that match popular shell prompts and terminal colour schemes, with full control over individual style elements through a [delta] section in git config.
delta has become the default pager in many "modern shell" dotfiles and is widely used by people who spend a lot of time in git. The integration with git is the killer feature, but delta also acts as a friendlier diff viewer for diff-so-fancy-style use inside scripts and CI logs.
Install
Debian/Ubuntu: sudo apt install git-delta Fedora/RHEL: sudo dnf install git-delta Arch: sudo pacman -S git-delta macOS: brew install git-delta
Authors
- Dan Davison (creator)