Automic VaultAutomic Vault

brew

使用 Homebrew, MacPorts, Nix, zypper 安装 tkdiff

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install tkdiff

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install tkdiff

MacPorts ports tree · x11/tkdiff/Portfile · 来源: api.github.com

Linux

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

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

openSUSE zypper已验证 · 92%
sudo zypper install tkdiff

openSUSE Tumbleweed package metadata · tkdiff · 来源: download.opensuse.org

概览

软件包摘要

Graphical side by side diff utility

命令和别名

  • tkdiff

历史

项目历史与用法

TkDiff is a Tcl/Tk graphical front end to diff, designed for side-by-side file comparison, merge preparation, and lightweight visual review across Unix, Windows, and macOS-style desktop environments.

项目历史

The official TkDiff site describes the program as a graphical front end to diff with side-by-side text comparison, diff bookmarks, a graphical map of differences, and tools for slicing diff regions to control merge output.

SourceForge lists tkdiff as registered on 2002-10-16 and still active, with a last update shown as 2026-05-21. The project is written in Tcl and distributed under GPLv2, which matches its long life as a small portable GUI that only needs a Tcl/Tk runtime.

Over time the SourceForge description broadened from a simple visual diff viewer into a source-code tool: it lists support for several SCM systems including Subversion, Git, Mercurial, directory-level comparison, configurable differencing engines, and 3-way merging.

采用历史

TkDiff's adoption followed the classic Tcl/Tk pattern: one portable scriptable GUI could run across X11, Win32, and macOS environments with little platform-specific machinery. SourceForge lists Windows, Mac, Linux, BSD, and ChromeOS as supported operating-system families.

The supplied package-manager facts show tkdiff carried by Homebrew, MacPorts, Nix, and openSUSE/zypper, reflecting a durable developer-tool niche: it is old enough to predate Git's dominance but simple enough to remain useful in modern package collections.

使用方式

TkDiff is used when a developer wants a fast visual view of textual differences without adopting a full IDE. The SourceForge feature list emphasizes SCM integration, directory recursion, alternate diff engines, statistics, and 3-way merge support.

In package-manager culture, tkdiff is the kind of utility people install once and keep around as a familiar external diff or merge command. It is especially attractive on systems where Tcl/Tk is already available and a small GUI beats a heavier review application.

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

TkDiff is significant because it represents the durable Tcl/Tk desktop-tool stratum of open source: small, cross-platform, scriptable, and useful for decades.

For package nerds, it is a reminder that many valuable developer tools are neither language servers nor web apps; they are stable wrappers around Unix primitives that package managers keep alive because they still solve a concrete workflow.

时间线

  • 2002-10-16: SourceForge project registered.
  • 2026-05-21: SourceForge lists the latest project update.
  • 2026: SourceForge project page continues to list SCM integration, directory comparison, and 3-way merge support.

Related projects

  • diff is the underlying command-line comparison tool that TkDiff visualizes.
  • Subversion, Git, and Mercurial are listed by the project as SCM systems TkDiff can interface with.
  • Meld and WinMerge are adjacent visual diff and merge tools in the same package-manager niche.

安全态势

风险级别:绿色

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 个平台目标。
  • 安装时包含 1 个运行时依赖。

建议审查

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

可执行文件

已安装的可执行文件

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

新鲜度

版本和新鲜度

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

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

https://tkdiff.sourceforge.io/

  • 信息No package-manager update timestamp was available.低 置信度
  • 信息Release/tag comparison is only available for GitHub repositories.https://tkdiff.sourceforge.io/none 置信度

安装元数据

软件包元数据

软件包键brew:tkdiff
版本6.0
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/tkdiff
主页https://tkdiff.sourceforge.io/
仓库https://sourceforge.net/p/tkdiff/code/HEAD/tree
上游文档https://sourceforge.net/projects/tkdiff
许可证GPL-2.0-only
源码归档https://downloads.sourceforge.net/project/tkdiff/tkdiff/6.0/tkdiff-6-0.zip
依赖tcl-tk
Bottle可用 (于 all)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nametkdiff
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

源数据库匹配

其他软件包管理器记录

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

Nix95%

tkdiff

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

tkdiff 6.0-1.1

2 and 3-way diff/merge tool

https://tkdiff.sourceforge.io/

sudo zypper install tkdiff
  • License: GPL-2.0-or-later
  • Category: Productivity/Text/Utilities
  • Architecture: noarch
  • Source Package: tkdiff
  • 4 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Tkdiff
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: tkdiff from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

tkdiff

sudo port install tkdiff
  • normalized package name match
  • 匹配方式:Tkdiff
MacPorts ports tree · api.github.com · MacPorts ports tree: x11/tkdiff/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