Automic VaultAutomic Vault

brew

使用 Homebrew, apk, apt, MacPorts, Nix 安装 icdiff

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install icdiff

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install icdiff

MacPorts ports tree · textproc/icdiff/Portfile · 来源: api.github.com

Linux

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

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

Debian apt已验证 · 92%
sudo apt install icdiff

Debian stable package indexes · icdiff · 来源: deb.debian.org

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

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

概览

软件包摘要

Improved colored diff

命令和别名

  • git-icdiff
  • icdiff

历史

项目历史与用法

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.

时间线

  • 1.0.0: First release recorded in the changelog.
  • 1.2.0: Recursive directory diff support added.
  • 1.5.3: Subversion difftool support added.
  • 1.9.2: Configurable colors, git configuration, and cleaner errors added.
  • 2.0.0: Python 2 support dropped and long-line handling improved.
  • 2.0.10: Terminal width detection regression reverted.

Related projects

  • Related tools and workflows include Python `difflib`, Unix `diff`, Git difftool, Subversion diff commands, Mercurial extdiff, and other terminal visual diff tools.

安全态势

风险级别:绿色

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 个平台目标。

建议审查

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

可执行文件

已安装的可执行文件

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

新鲜度

版本和新鲜度

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

页面生成时间2026-07-25
管理器版本2.0.10
管理器更新时间
本地数据OK
上游not checked
检测到的最新版本未检测到

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 DatabaseHomebrew formula API
Taphomebrew/core
Full Nameicdiff
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%

icdiff 2.0.7-4.1

terminal side-by-side colorized word diff

https://www.jefftk.com/icdiff

sudo apt install icdiff
  • Section: utils
  • Architecture: all
  • 1 依赖
  • normalized package name match
  • 匹配方式:Icdiff
Debian stable package indexes · deb.debian.org · Debian stable package indexes: icdiff from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

icdiff

nix profile install nixpkgs#icdiff
  • normalized package name match
  • 匹配方式:Icdiff
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ic/icdiff/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

icdiff 2.0.7-1

terminal side-by-side colorized word diff

https://www.jefftk.com/icdiff

sudo apt install icdiff
  • Section: universe/utils
  • Architecture: all
  • 2 依赖
  • normalized package name match
  • 匹配方式:Icdiff
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: icdiff from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

icdiff 2.0.10-r1

Improved colored diff

https://www.jefftk.com/icdiff

sudo apk add icdiff
  • License: Python-2.0
  • Architecture: x86_64
  • Source Package: icdiff
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Icdiff
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: icdiff from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

icdiff-pyc 2.0.10-r1

Precompiled Python bytecode for icdiff

https://www.jefftk.com/icdiff

sudo apk add icdiff-pyc
  • License: Python-2.0
  • Architecture: x86_64
  • Source Package: icdiff
  • 1 依赖
  • normalized package name match
  • 匹配方式:Icdiff
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: icdiff-pyc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
MacPorts95%

icdiff

sudo port install icdiff
  • normalized package name match
  • 匹配方式:Icdiff
MacPorts ports tree · api.github.com · MacPorts ports tree: textproc/icdiff/Portfile from https://api.github.com/repos/macports/macports-ports/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