Automic VaultAutomic Vault

brew

使用 Homebrew, apt, dnf, MacPorts, pacman, zypper, apk, chocolatey, Nix, scoop, winget 安装 git-delta

查看 git-delta 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install git-delta

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install git-delta

MacPorts ports tree · textproc/git-delta/Portfile · 来源: api.github.com

Linux

Debian apt已验证 · 92%
sudo apt install git-delta

Debian stable package indexes · git-delta · 来源: deb.debian.org

Fedora dnf已验证 · 92%
sudo dnf install git-delta

Fedora Rawhide package metadata · git-delta · 来源: dl.fedoraproject.org

Arch Linux pacman已验证 · 92%
sudo pacman -S git-delta

Arch Linux sync databases · git-delta · 来源: geo.mirror.pkgbuild.com

openSUSE zypper已验证 · 92%
sudo zypper install git-delta

openSUSE Tumbleweed package metadata · git-delta · 来源: download.opensuse.org

Alpine Linux apk已验证 · 92%
sudo apk add delta

Alpine Linux edge package indexes · delta · 来源: dl-cdn.alpinelinux.org

Nix已验证 · 92%
nix profile install nixpkgs#delta

nixpkgs package indexes · pkgs/by-name/de/delta/package.nix · 来源: api.github.com

Windows

Chocolatey已验证 · 92%
choco install delta

Chocolatey community package catalog · delta · 来源: community.chocolatey.org

Scoop已验证 · 92%
scoop install main/delta

Scoop official bucket manifest trees · bucket/delta.json · 来源: api.github.com

Windows Package Manager已验证 · 92%
winget install --id dandavison.delta -e

Windows Package Manager source index · dandavison.delta · 来源: cdn.winget.microsoft.com

概览

软件包摘要

Syntax-highlighting pager for git and diff output

命令和别名

  • delta

历史

项目历史与用法

git-delta, whose executable is `delta`, is a syntax-highlighting pager for Git, diff, and grep output. It sits in the Git pager path and makes code review, `git show`, `git diff`, `git log -p`, merge conflicts, blame, and grep results easier to scan in a terminal.

项目历史

The upstream repository began in June 2019 as a Rust project that read unified diff input from standard input and wrote formatted output. Tags began the next month, and the project iterated through many 0.x releases as it added terminal rendering, syntax highlighting, layout controls, and Git-specific affordances.

The README positions delta as a customizable pager rather than a replacement for Git. It highlights syntax themes shared with bat, word-level diff highlighting, side-by-side views, line numbers, diff navigation, merge-conflict display, blame formatting, grep highlighting, hyperlink support, and emulation modes for diff-highlight and diff-so-fancy.

采用历史

Delta's package-manager footprint is broad: the input metadata lists packages across Homebrew, Debian and Ubuntu, Fedora-family distributions, MacPorts, Nix, Arch-family repositories, Scoop, winget, Chocolatey, and Alpine under either `git-delta` or `delta` naming.

Its adoption followed a wider terminal tooling trend around Rust CLIs that improve classic Unix and Git output while keeping pipeline semantics. The package name split is part of its packaging identity: many package managers call it `git-delta`, while the command users run is `delta`.

使用方式

The documented Git setup adds `core.pager = delta`, `interactive.diffFilter = delta --color-only`, and delta-specific options such as `navigate`, dark or light theme selection, side-by-side view, and line numbers in `~/.gitconfig`.

Practitioners use it anywhere unified diff-like output appears: Git diffs and logs, merge conflicts, blame output, `git grep`, ripgrep, and plain `diff`. Its configuration style lets users keep close to Git's default output or build richer review-oriented layouts.

为什么软件包爱好者会关心

For package maintainers and terminal-tool collectors, delta is a representative high-adoption Rust CLI: a single binary, cross-platform packages, shell-friendly standard input and output behavior, and tight integration with existing Git configuration.

It also bridges several popular diff-enhancement lineages. Users who previously relied on `diff-highlight` or `diff-so-fancy` can use delta's emulation modes while gaining syntax themes and richer terminal layout.

时间线

  • 2019: The Rust repository begins and the first 0.0.x tags are released.
  • 2020: Version 0.1.0 is tagged as the project moves beyond its first release series.
  • 2021: The 0.8 through 0.11 series expands pager and display features.
  • 2022: The 0.12 through 0.15 series continues Git integration and terminal rendering work.
  • 2024: Version 0.18.x is released.
  • 2026: Version 0.19.x is released.

Related projects

  • bat is related through shared syntax-highlighting themes named by the README.
  • diff-highlight and diff-so-fancy are related Git diff-enhancement tools that delta can emulate.
  • ripgrep and Git grep are related producers of output that delta can syntax-highlight.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 安装时包含 2 个运行时依赖。
  • 构建元数据列出 2 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

Unix
~/.gitconfig

可执行文件

已安装的可执行文件

命令类型暴露范围备注
deltacli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-10
管理器版本0.19.2
管理器更新时间2026-06-15
本地数据OK
上游当前
检测到的最新版本0.19.2

https://github.com/dandavison/delta

  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:git-delta
版本0.19.2
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/git-delta
主页https://dandavison.github.io/delta/
仓库https://github.com/dandavison/delta
上游文档https://github.com/dandavison/delta#readme
许可证MIT
源码归档https://github.com/dandavison/delta/archive/refs/tags/0.19.2.tar.gz
最后更新2026-06-15T10:20:17-04:00
Pulseupdated
依赖libgit2, oniguruma
构建依赖pkgconf, rust
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namegit-delta
Aliases
  • delta
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

git-delta 0.18.2-4+b1

syntax-highlighting pager for git, diff, and grep output

https://dandavison.github.io/delta/

sudo apt install git-delta
  • Section: vcs
  • Architecture: amd64
  • Source Package: git-delta
  • 3 依赖
  • 2 可选依赖
  • normalized package name match
  • 匹配方式:Git Delta
Debian stable package indexes · deb.debian.org · Debian stable package indexes: git-delta from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Ubuntu apt95%

git-delta 0.16.5-5

syntax-highlighting pager for git, diff, and grep output

https://dandavison.github.io/delta/

sudo apt install git-delta
  • Section: universe/vcs
  • Architecture: amd64
  • 3 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Git Delta
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: git-delta from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
dnf95%

git-delta 0.19.1-5.fc45

Syntax-highlighting pager for git

https://crates.io/crates/git-delta

sudo dnf install git-delta
  • License: MIT AND 0BSD AND Apache-2.0 AND BSD-2-Clause AND BSD-2-Clause-Views AND BSD-3-Clause AND CC-BY-SA-3.0 AND GPL-2.0-only WITH GCC-exception-2.0 AND
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: rust-git-delta
  • 7 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Git Delta
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: git-delta from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

git-delta 0.19.2-1

Syntax-highlighting pager for git and diff output

https://dandavison.github.io/delta/

sudo pacman -S git-delta
  • License: MIT
  • Architecture: x86_64
  • 5 依赖
  • normalized package name match
  • 匹配方式:Git Delta
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: git-delta from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

git-delta 0.19.2-1.2

A syntax-highlighter for git and diff output

https://github.com/dandavison/delta

sudo zypper install git-delta
  • License: MIT
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: git-delta
  • 4 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Git Delta
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: git-delta from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

git-delta

sudo port install git-delta
  • normalized package name match
  • 匹配方式:Git Delta
MacPorts ports tree · api.github.com · MacPorts ports tree: textproc/git-delta/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Debian apt92%

delta 2006.08.03-13

heuristic minimizer of interesting files

sudo apt install delta
  • Section: devel
  • Architecture: amd64
  • 2 依赖
  • installed executable or alias match
  • 匹配方式:Delta
Debian stable package indexes · deb.debian.org · Debian stable package indexes: delta from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix92%

delta

nix profile install nixpkgs#delta
  • installed executable or alias match
  • 匹配方式:Delta
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/de/delta/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt92%

delta 2006.08.03-13

heuristic minimizer of interesting files

sudo apt install delta
  • Section: universe/devel
  • Architecture: amd64
  • 2 依赖
  • installed executable or alias match
  • 匹配方式:Delta
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: delta from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk92%

delta 0.19.2-r0

Syntax-highlighting pager for git and diff output

https://dandavison.github.io/delta/

sudo apk add delta
  • License: MIT
  • Architecture: x86_64
  • Source Package: delta
  • 1 依赖
  • 1 提供
  • installed executable or alias match
  • 匹配方式:Delta
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: delta from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk92%

delta-bash-completion 0.19.2-r0

Bash completions for delta

https://dandavison.github.io/delta/

sudo apk add delta-bash-completion
  • License: MIT
  • Architecture: x86_64
  • Source Package: delta
  • installed executable or alias match
  • 匹配方式:Delta
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: delta-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk92%

delta-fish-completion 0.19.2-r0

Fish completions for delta

https://dandavison.github.io/delta/

sudo apk add delta-fish-completion
  • License: MIT
  • Architecture: x86_64
  • Source Package: delta
  • installed executable or alias match
  • 匹配方式:Delta
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: delta-fish-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk92%

delta-zsh-completion 0.19.2-r0

Zsh completions for delta

https://dandavison.github.io/delta/

sudo apk add delta-zsh-completion
  • License: MIT
  • Architecture: x86_64
  • Source Package: delta
  • installed executable or alias match
  • 匹配方式:Delta
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: delta-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
Chocolatey92%

delta

choco install delta
  • installed executable or alias match
  • 匹配方式:Delta
Chocolatey community package catalog · community.chocolatey.org · Chocolatey community package catalog: delta from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='7.158','newfiletime'
Scoop92%

main/delta

scoop install main/delta
  • installed executable or alias match
  • 匹配方式:Delta
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/delta.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
winget92%

dandavison.delta

winget install --id dandavison.delta -e
  • installed executable or alias match
  • 匹配方式:Delta
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: dandavison.delta from https://cdn.winget.microsoft.com/cache/source.msix

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment