macOS
brew install diff-so-fancylocal Homebrew formula metadata
sudo port install diff-so-fancyMacPorts ports tree · textproc/diff-so-fancy/Portfile · 来源: api.github.com
安装
brew install diff-so-fancylocal Homebrew formula metadata
sudo port install diff-so-fancyMacPorts ports tree · textproc/diff-so-fancy/Portfile · 来源: api.github.com
sudo dnf install diff-so-fancyFedora Rawhide package metadata · diff-so-fancy · 来源: dl.fedoraproject.org
nix profile install nixpkgs#diff-so-fancynixpkgs package indexes · pkgs/by-name/di/diff-so-fancy/package.nix · 来源: api.github.com
sudo pacman -S diff-so-fancyArch Linux sync databases · diff-so-fancy · 来源: geo.mirror.pkgbuild.com
sudo zypper install diff-so-fancyopenSUSE Tumbleweed package metadata · diff-so-fancy · 来源: download.opensuse.org
scoop install main/diff-so-fancyScoop official bucket manifest trees · bucket/diff-so-fancy.json · 来源: api.github.com
概览
Good-lookin' diffs with diff-highlight and more
历史
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.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
diff-so-fancy | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/so-fancy/diff-so-fancy
安装元数据
| 软件包键 | 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 |
| Pulse | updated |
| Bottle | 可用 (于 all) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | diff-so-fancy |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
diff-so-fancy
nix profile install nixpkgs#diff-so-fancydiff-so-fancy 1.4.4-9.fc44
Good-lookin' diffs
https://github.com/so-fancy/diff-so-fancy
sudo dnf install diff-so-fancydiff-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-fancydiff-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-fancydiff-so-fancy
sudo port install diff-so-fancymain/diff-so-fancy
scoop install main/diff-so-fancy来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.