# tkdiff を Homebrew, MacPorts, Nix, zypper でインストール

tkdiff のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:tkdiff
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install tkdiff
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install tkdiff
```

  証拠: MacPorts ports tree: x11/tkdiff/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#tkdiff
```

  証拠: nixpkgs package indexes: pkgs/by-name/tk/tkdiff/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- zypper (92%):

```sh
sudo zypper install tkdiff
```

  証拠: openSUSE Tumbleweed package metadata: tkdiff from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## パッケージ情報

- **パッケージキー:** brew:tkdiff
- **パッケージマネージャ:** Homebrew
- **バージョン:** 6.0
- **ソース概要:** Graphical side by side diff utility
- **ホームページ:** <https://tkdiff.sourceforge.io/>
- **最終更新:** 2026-07-11T00:34:22+09:00
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- tkdiff (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 6.0
## プロジェクトの歴史と使われ方

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.

### ソース

- <https://sourceforge.net/projects/tkdiff/ SourceForge registration, features, platforms, language, license, update date, and category>
- <https://tkdiff.sourceforge.io/ official project description>
- source_facts.package-manager for Homebrew, MacPorts, Nix, and zypper packaging


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- narrow executable package without higher-risk signals

## 他のパッケージマネージャ記録

- Nix - tkdiff: normalized package name match | nixpkgs package indexes: pkgs/by-name/tk/tkdiff/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- zypper - tkdiff - 6.0-1.2: normalized package name match | openSUSE Tumbleweed package metadata: tkdiff from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | 2 and 3-way diff/merge tool | https://tkdiff.sourceforge.io/
- MacPorts - tkdiff: normalized package name match | MacPorts ports tree: x11/tkdiff/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/tkdiff.yml](https://github.com/mxcl/pkgdb/blob/main/combined/tkdiff.yml)


## ソース

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
