Automic VaultAutomic Vault

brew

使用 Homebrew, dnf, MacPorts, Nix, pacman, zypper, scoop 安装 diff-so-fancy

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install diff-so-fancy

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install diff-so-fancy

MacPorts ports tree · textproc/diff-so-fancy/Portfile · 来源: api.github.com

Linux

Fedora dnf已验证 · 92%
sudo dnf install diff-so-fancy

Fedora Rawhide package metadata · diff-so-fancy · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#diff-so-fancy

nixpkgs package indexes · pkgs/by-name/di/diff-so-fancy/package.nix · 来源: api.github.com

Arch Linux pacman已验证 · 92%
sudo pacman -S diff-so-fancy

Arch Linux sync databases · diff-so-fancy · 来源: geo.mirror.pkgbuild.com

openSUSE zypper已验证 · 92%
sudo zypper install diff-so-fancy

openSUSE Tumbleweed package metadata · diff-so-fancy · 来源: download.opensuse.org

Windows

Scoop已验证 · 92%
scoop install main/diff-so-fancy

Scoop official bucket manifest trees · bucket/diff-so-fancy.json · 来源: api.github.com

概览

软件包摘要

Good-lookin' diffs with diff-highlight and more

命令和别名

  • diff-so-fancy

历史

项目历史与用法

diff-so-fancy is a terminal filter that reformats unified diffs into a more human-readable display. It is commonly wired into Git as a pager or interactive diff filter.

项目历史

The official history document says diff-so-fancy began as a commit in Paul Irish's dotfiles, grew into a standalone script, and was later moved into the so-fancy repository by Steve Mao. The GitHub repository was created in 2016.

The README presents the project as a tool for making diffs human readable to improve code quality and defect spotting. Its options are mostly Git configuration keys that control hunk headers, leading symbols, rulers, empty lines, and display width.

采用历史

diff-so-fancy spread through developer tooling because it required little ceremony: place the script on PATH and point Git's pager or interactive.diffFilter at it. The README lists official project-noted availability through GitHub releases, npm, Homebrew, Fedora, Arch, and Debian/Ubuntu packaging.

使用方式

The normal Git setup is core.pager set to pipe through diff-so-fancy and less, plus interactive.diffFilter for patch mode. It can also consume ordinary unified diff output from diff -u or recursive diff.

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

For package nerds, diff-so-fancy is a classic single-purpose developer package: a small script, broad editor-terminal appeal, and visible overlap between dotfiles culture, Git ergonomics, and distro packaging.

时间线

  • 2016: The so-fancy/diff-so-fancy GitHub repository is created.
  • 2021: Version 1.4.0 is published.
  • 2026: Version 1.4.10 is published.

Related projects

  • Git, diff-highlight, delta, Lazygit, and difftastic are the main neighboring tools named by upstream.

安全态势

风险级别:绿色

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 元数据适用于 1 个平台目标。

建议审查

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

可执行文件

已安装的可执行文件

命令类型暴露范围备注
diff-so-fancycli全局可执行文件

新鲜度

版本和新鲜度

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

页面生成时间2026-07-25
管理器版本1.4.12
管理器更新时间2026-07-15
本地数据OK
上游当前
检测到的最新版本v1.4.12

https://github.com/so-fancy/diff-so-fancy

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

安装元数据

软件包元数据

软件包键brew:diff-so-fancy
版本1.4.12
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/diff-so-fancy
主页https://github.com/so-fancy/diff-so-fancy
仓库https://github.com/so-fancy/diff-so-fancy
上游文档https://github.com/so-fancy/diff-so-fancy#readme
许可证MIT
源码归档https://github.com/so-fancy/diff-so-fancy/archive/refs/tags/v1.4.12.tar.gz
最后更新2026-07-15T20:53:38Z
Pulseupdated
Bottle可用 (于 all)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

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

Nix95%

diff-so-fancy

nix profile install nixpkgs#diff-so-fancy
  • normalized package name match
  • 匹配方式:Diff So Fancy
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/di/diff-so-fancy/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
dnf95%

diff-so-fancy 1.4.4-9.fc44

Good-lookin' diffs

https://github.com/so-fancy/diff-so-fancy

sudo dnf install diff-so-fancy
  • License: MIT
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: diff-so-fancy
  • 2 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Diff So Fancy
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: diff-so-fancy from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

diff-so-fancy 1.4.10-1

Good-looking diffs with diff-highlight and more

https://github.com/so-fancy/diff-so-fancy

sudo pacman -S diff-so-fancy
  • License: MIT
  • Architecture: any
  • 1 依赖
  • normalized package name match
  • 匹配方式:Diff So Fancy
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: diff-so-fancy from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

diff-so-fancy 1.4.10-2.1

Strives to make your diffs human readable

https://github.com/so-fancy/diff-so-fancy

sudo zypper install diff-so-fancy
  • License: MIT
  • Category: Productivity/Text/Utilities
  • Architecture: noarch
  • Source Package: diff-so-fancy
  • 3 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Diff So Fancy
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: diff-so-fancy from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

diff-so-fancy

sudo port install diff-so-fancy
  • normalized package name match
  • 匹配方式:Diff So Fancy
MacPorts ports tree · api.github.com · MacPorts ports tree: textproc/diff-so-fancy/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Scoop95%

main/diff-so-fancy

scoop install main/diff-so-fancy
  • normalized package name match
  • 匹配方式:Diff So Fancy
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/diff-so-fancy.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

来源线索

由仓库数据生成

此页面由 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 package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment