pkg.soopen package index

brew / 排名 1386

使用 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

安装行为

  • 未记录 Homebrew bottle 元数据。

建议审查

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

可执行文件

已安装的可执行文件

命令类型暴露范围备注
diff-so-fancy可执行文件已索引可执行文件从本地可执行文件索引发现。

新鲜度

版本和新鲜度

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

页面生成时间2026-08-03
管理器版本1.4.12
管理器更新时间2026-07-15
本地数据未知
上游不可用
检测到的最新版本未检测到
  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:diff-so-fancy
版本1.4.12
软件包管理器Homebrew
主页https://github.com/so-fancy/diff-so-fancy
仓库https://github.com/so-fancy/diff-so-fancy
最后更新2026-07-15T20:53:38Z
Pulseupdated
Bottle未记录
服务未声明

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 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-10.fc45

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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst
pacman95%

diff-so-fancy 1.4.12-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.2

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/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-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
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • pkg.so package database
  • pkgdb category and tag curation