macOS
brew install icdifflocal Homebrew formula metadata
sudo port install icdiffMacPorts ports tree · textproc/icdiff/Portfile · 来源: api.github.com
安装
brew install icdifflocal Homebrew formula metadata
sudo port install icdiffMacPorts ports tree · textproc/icdiff/Portfile · 来源: api.github.com
sudo apk add icdiffAlpine Linux edge package indexes · icdiff · 来源: dl-cdn.alpinelinux.org
sudo apt install icdiffDebian stable package indexes · icdiff · 来源: deb.debian.org
nix profile install nixpkgs#icdiffnixpkgs package indexes · pkgs/by-name/ic/icdiff/package.nix · 来源: api.github.com
概览
Improved colored diff
历史
icdiff is a Python command-line diff viewer that presents side-by-side, color-highlighted differences in a terminal. Its goal is not to replace every diff workflow, but to make small intra-line changes easier to see.
Jeff Kaufman's project page frames icdiff as a focused improvement over plain terminal `diff`: color and side-by-side layout for cases where similar lines are hard to compare. The README says the file is derived from Python's `difflib.HtmlDiff`, released under the same Python license.
The changelog begins with 1.0.0 as the first release and then records a long line of practical terminal and VCS improvements: recursive directory diffs, Unicode and fullwidth-character handling, Git integration, Subversion support, configurable colors, labels, line numbers, Python 3 cleanup, and process-exit behavior.
The README documents installation through pip, apt, Homebrew, AUR, and Nix, and gives integration recipes for Git, Subversion, and Mercurial. The Homebrew package also installs `git-icdiff`, making it a convenient drop-in visual diff helper for version-control users.
The direct command form is `icdiff [options] left_file right_file`. It can also be used as `git difftool --extcmd icdiff`, as `git icdiff` through the helper script, as an SVN diff command, or as a Mercurial extdiff command.
icdiff is a compact example of package-manager value: a single-purpose terminal UX improvement that spreads through many ecosystems because developers repeatedly want readable diffs without adopting a full graphical merge tool.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
git-icdiff | cli | 全局可执行文件 | |
icdiff | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/jeffkaufman/icdiff
安装元数据
| 软件包键 | brew:icdiff |
|---|---|
| 版本 | 2.0.10 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/icdiff |
| 主页 | https://www.jefftk.com/icdiff |
| 仓库 | https://github.com/jeffkaufman/icdiff |
| 上游文档 | https://www.jefftk.com/icdiff |
| 许可证 | PSF-2.0 |
| 源码归档 | https://github.com/jeffkaufman/icdiff/archive/refs/tags/release-2.0.10.tar.gz |
| macOS 提供的库 | python |
| Bottle | 可用 (于 all) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | icdiff |
| 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 软件包链接分开显示。
icdiff 2.0.7-4.1
terminal side-by-side colorized word diff
sudo apt install icdifficdiff
nix profile install nixpkgs#icdifficdiff 2.0.7-1
terminal side-by-side colorized word diff
sudo apt install icdifficdiff 2.0.10-r1
Improved colored diff
sudo apk add icdifficdiff-pyc 2.0.10-r1
Precompiled Python bytecode for icdiff
sudo apk add icdiff-pycicdiff
sudo port install icdiff来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.