delta is a free program that makes git's output easier to read. Install it, add a few lines to your ~/.gitconfig, and git diff, git show, git log -p and git blame come out with syntax highlighting for the code, the exact changed words marked inside each line, line numbers and, if you like, a side-by-side view. Press n and N to jump from file to file.
It earns its place because anyone who writes code reads diffs all day, and delta makes the actual change obvious without leaving the terminal or changing how you use git. It uses the same colour themes as bat, also formats grep and ripgrep results, and can lay out merge conflicts more clearly. Newer versions add delta tui, an interactive view based on gitu where you can stage lines, commit, push and rebase from the coloured diff.
delta is MIT-licensed and written in Rust by Dan Davison, who started it in 2019 and still maintains it. It has about 32,900 stars and around 160 contributors. Version 0.23.0 came out on 28 November 2026.
- Repository: github.com/dandavison/delta
- Licence: MIT (MIT License)
- Language: Rust. Stars: 32.9K. Forks: 781. Last push: Nov 28, 2026.
- Scan: safe, Nov 28, 2026, commit f847f24
Who it is for
Developers who use git in a terminal, code reviewers who read a lot of diffs, and people who like their tools colourful. It runs on macOS, Linux and Windows; most package managers call it git-delta, but the command is delta.
Getting started
1. Install on macOS or Linux with Homebrew
brew install git-delta2. Or on Windows, with winget
winget install dandavison.delta3. Or on Ubuntu and Debian, install the .deb file from the releases page
sudo dpkg -i git-delta_0.23.0_amd64.deb4. Make git use delta, with n and N to jump between files
git config --global core.pager delta
git config --global interactive.diffFilter 'delta --color-only'
git config --global delta.navigate true5. Optional: turn on the side-by-side view
git config --global delta.side-by-side true6. Look at your changes
git diffPackage managers install the delta program and change nothing else; the git config commands add a few lines to ~/.gitconfig, which you can remove to go back to plain git. delta only reads git's output and prints it, except delta tui, which stages, commits and pushes when you press its keys. The TUI's code comes from delta-gitu, a separate package by the same author. Our scan covers this repo's source code, not the prebuilt binaries or that package.
Safety scan
We cloned dandavison/delta at commit f847f24 on Nov 28, 2026 and ran the checks described on the GitHub Tools page: credential patterns, decode-and-execute code, install-time scripts, committed binaries, risky CI workflows, every host the code talks to, known vulnerabilities in pinned dependencies, and project hygiene. A person read every hit. This is what we found.
- 0 secret hits and no committed binaries across 271 files and about 113,000 lines: Rust for the program, plus JSON benchmark results and HTML demo files in etc/.
- 1 pattern hit: etc/docker/ubuntu.Dockerfile line 6 installs Rust with rustup's official curl to sh command, inside a container developers use to build and test delta. It is not part of delta or its install.
- No install script. Releases are prebuilt binaries for macOS, Linux and Windows plus Debian packages, built by the release workflow; since 0.23.0 it is also published to PyPI with trusted publishing, so no upload token is stored. Homebrew, winget and most Linux distributions package it too.
- 17 advisories across 382 Rust packages, none critical. The 2 high ones are in quick-xml, which delta reaches through plist, the reader for theme and syntax files in TextMate's XML format; a crafted file you add yourself could make it slow or use a lot of memory. 2 moderate and 1 low are crash and soundness bugs in serde_with, time and rand, and the other 12 are unrated notices of unmaintained libraries and soundness bugs in git2, url and others.
- delta contacts no server; the hosts in the code are documentation links, and api.elevenlabs.io appears only in a script that records the project's demo videos. 7 workflows, with no pull_request_target; none of the 24 third-party actions is pinned to a commit. Dependabot is on; no security policy or CodeQL. OpenSSF Scorecard gives it 4.3 out of 10.
What the scanner counted
| Check | Result |
|---|---|
| Secrets | None found. |
| Suspicious code | 1 pattern hit found and read; every one is listed under the raw findings. |
| Install-time code | None: nothing runs at install beyond the package manager itself. |
| Committed binaries | None. |
| CI workflows | 7 workflows. None use pull_request_target. 24 of 24 third-party actions pinned to a tag rather than a commit. |
| Network hosts | 22 distinct hosts referenced from source; most often github.com, git-scm.com, gitlab.com, docs.rs. No URLs to bare IP addresses. |
| Known vulnerabilities | 17 advisories across 382 pinned packages: 0 critical, 2 high, 2 moderate, 1 low, 12 unrated. Cargo.lock: 382 packages, 17 advisories. |
| Project hygiene | Has automated dependency updates, licence file, contributing guide. Missing security policy, CodeQL. |
| OpenSSF Scorecard | 4.3 out of 10, as of Nov 23, 2026. |
The raw findings
Every hit the scanner wrote out, with a link to the exact line at the scanned commit. Secrets candidates are redacted.
Pattern hits (1)
| Where | Rule | Match |
|---|---|---|
| etc/docker/ubuntu.Dockerfile:6 | download-piped-to-shell | RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y |
Worst known vulnerabilities (17 of 17)
| Advisory | Severity | Package | Summary |
|---|---|---|---|
| RUSTSEC-2026-0194 | high | quick-xml@0.32.0 | Quadratic run time when checking a start tag for duplicate attribute names |
| RUSTSEC-2026-0195 | high | quick-xml@0.32.0 | Unbounded namespace-declaration allocation in `NsReader` enables memory-exhaustion denial of service |
| GHSA-7gcf-g7xr-8hxj | moderate | serde_with@3.17.0 | serde_with: KeyValueMap serialization panics on empty sequence or map entries |
| GHSA-r6v5-fh4h-64xc | moderate | time@0.3.36 | time vulnerable to stack exhaustion Denial of Service attack |
| GHSA-cq8v-f236-94qc | low | rand@0.8.5 | Rand is unsound with a custom logger using rand::rng() |
| RUSTSEC-2021-0139 | unknown | ansi_term@0.12.1 | ansi_term is Unmaintained |
| RUSTSEC-2026-0190 | unknown | anyhow@1.0.102 | Unsoundness in `Error::downcast_mut()` |
| RUSTSEC-2025-0141 | unknown | bincode@1.3.3 | Bincode is unmaintained |
| RUSTSEC-2026-0543 | unknown | chrono@0.4.45 | chrono is unmaintained |
| RUSTSEC-2026-0183 | unknown | git2@0.20.4 | Potential undefined behavior when calling Remote::list() |
| RUSTSEC-2026-0184 | unknown | git2@0.20.4 | Potential undefined behavior with Signature from a buffer-created BlameHunk |
| GHSA-8p3x-q3q3-q3v5 | unknown | libz-sys@1.1.12 | libz-sys build script leaks environment variables in the build directory |
| RUSTSEC-2026-0441 | unknown | pin-utils@0.1.0 | `pin-utils` is unmaintained |
| GHSA-jh2m-fhpj-3vr7 | unknown | rustix@1.1.4 | xattr functions mark unwritten bytes as initialized when given a zero-length buffer |
| RUSTSEC-2024-0449 | unknown | unsafe-libyaml@0.2.10 | unsafe-libyaml is unmaintained |
| GHSA-hrj5-67jp-wqp9 | unknown | url@2.5.8 | Stack overflow in `Url::origin()` on nested `blob:` URLs |
| RUSTSEC-2024-0320 | unknown | yaml-rust@0.4.5 | yaml-rust is unmaintained. |
By the numbers
| Stars | 32.9K |
|---|---|
| Forks | 781 |
| Contributors | 164 |
| Commits | 2,258 |
| Open issues | 319 |
| Open pull requests | 185 |
| Releases | 68 |
| Latest release | 0.23.0 |
| Licence | MIT |
| Main language | Rust |
| Project age | 7 years |
| Last push | Nov 28, 2026 |
| Tracked files | 271 |
| Lines of code | 113.4K |
| Checkout size | 5 MB |
Lines by language: JSON 41.6K, Rust 37.8K, HTML 28K, Markdown 3,429, JavaScript 1,033, Shell 739.
Questions
Is delta free?
Yes. It is free and open source under the MIT licence, with no paid version and no account.
delta or difftastic?
delta keeps git's line-by-line diff and makes it readable with colours, word highlights and side-by-side views. difftastic compares the structure of the code, so reformatted code shows as unchanged; delta can display difftastic's output too.
Does delta work on Windows?
Yes. Install it with winget or Scoop and set it as git's pager with the same git config commands, then use it in Windows Terminal.
Does delta change my repository?
No. As a pager it only displays what git prints. Only delta tui stages, commits or pushes, and only when you press those keys.
How do I uninstall delta?
Run git config --global --unset core.pager and git config --global --unset interactive.diffFilter, delete the [delta] lines from ~/.gitconfig, then run brew uninstall git-delta or winget uninstall dandavison.delta.
This post is part of GitHub Tools, where every repository is cloned and scanned before it is written up. The scan is a snapshot of one commit on one day; the repository has moved on since, so check it before you install.
