Automic VaultAutomic Vault

brew

ydiff mit Homebrew, apt, dnf, MacPorts, Nix installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für ydiff in AI-Agent-Workflows.

Installation

Weitere Installationsbefehle

macOS

Homebrewverifiziert · 100%
brew install ydiff

local Homebrew formula metadata

MacPortsverifiziert · 94%
sudo port install ydiff

MacPorts ports tree · textproc/ydiff/Portfile · Quelle: api.github.com

Linux

Debian aptverifiziert · 92%
sudo apt install python3-cdiff

Debian stable package indexes · python3-cdiff · Quelle: deb.debian.org

Fedora dnfverifiziert · 92%
sudo dnf install python3-ydiff

Fedora Rawhide package metadata · python3-ydiff · Quelle: dl.fedoraproject.org

Nixverifiziert · 92%
nix profile install nixpkgs#ydiff

nixpkgs package indexes · ydiff · Quelle: raw.githubusercontent.com

Überblick

Paketzusammenfassung

View colored diff with side by side and auto pager support

Befehle und Aliase

  • ydiff

Verlauf

Projektgeschichte und Nutzung

Ydiff is a terminal diff viewer for colored, incremental diffs from version-control workspaces or stdin. It is best known for side-by-side display, automatic pager use, and a single-file Python implementation with no external Python dependencies.

Projektgeschichte

The GitHub repository was created on 2013-01-29, and the changelog begins with early PyPI-era releases in February 2013 under the original `cdiff` name. Within weeks it gained support for patch files, pipes, revision-control output, two-file comparison, color control, logs, and more robust diff parsing.

During 2013 and 2014, the project moved from a small colored-diff helper into a workspace-oriented reviewer: it added Git/SVN/Hg log handling, automatic terminal-width behavior, pager tuning, Python 3.4 support, and fixes for difficult unified diffs.

The 2018 1.1 release renamed the command from `cdiff` to `ydiff` to avoid a binary-name conflict on major distributions. Later releases added Perforce and Windows support, wide-character handling, word-level change blocks, default side-by-side behavior, and customizable themes.

Adoptionsgeschichte

Ydiff adopted well for a small terminal tool because it solved a common packaging pain point: colorful side-by-side diffs without a GUI and without a heavy dependency stack. Its README documents installation from source, PyPI, Homebrew, Fedora, and FreeBSD.

Distribution adoption is visible in Homebrew, Fedora, FreeBSD/OpenBSD, Debian-derived package naming, and Nix-style package indexes. The rename from cdiff to ydiff is especially package-nerd relevant because it was driven by command-name collision management across distributions.

Wie es verwendet wird

Users run `ydiff` inside Git, Mercurial, Perforce, or Subversion workspaces to view current changes, staged Git changes via passed-through options such as `--cached`, or revision logs via `-l`. It can also consume `git show`, `git log -p`, `svn diff`, `diff -u`, directory diffs, and GitHub pull-request `.diff` URLs from stdin.

The practical attraction is that ydiff wraps ordinary unified diffs with readable terminal presentation: side-by-side or unified layout, automatic width detection, line wrapping controls, pager selection, themes, color modes, and safe redirection back to patch files.

Warum Paket-Nerds sich dafür interessieren

Ydiff is a neat package-manager case study because almost all of its value ships as one Python command. Packaging it is mostly about naming, executable placement, and keeping terminal behavior consistent across Unix-like systems.

The cdiff-to-ydiff rename captures a real packaging concern: a project can be technically simple and still need an upstream identity change once distribution command namespaces collide.

Zeitleiste

  • 2013-01-29: The ymattw/ydiff repository is created.
  • 2013-02-04: Early PyPI-oriented changelog entries appear for cdiff.
  • 2013-02-18: The changelog adds log-reading support for SVN and Mercurial patch logs.
  • 2014-06-04: Python 3.4 support appears in the changelog.
  • 2018-06-05: The project is renamed from cdiff to ydiff to avoid binary-name conflicts on major distributions.
  • 2020-08-08: Perforce workspace and pager-customization support are added.
  • 2024-11-13: Word-level change blocks and theme selection land in the 1.4 line.
  • 2025-12-06: The changelog records INI-based custom themes and source/wheel publication changes.

Related projects

  • Related tools include cdiff, colordiff, diff, git diff, git show, git log -p, svn diff, hg log -p, Perforce diff tooling, icdiff, delta, diff-so-fancy, less, patchutils, and terminal pager workflows.

Sicherheitslage

Risikostufe: grün

narrow executable package without higher-risk signals.

Risikoklassifikator

grün Risiko · niedrig Konfidenz · appliance

Warum

  • narrow executable package without higher-risk signals

Signale

  • metadata:no-higher-risk-signals

Installationsverhalten

  • In den Formelmetadaten ist kein Homebrew-Post-install-Hook erfasst.
  • Homebrew-Bottle-Metadaten sind für 1 Plattformziele verfügbar.
  • Installiert mit 1 Laufzeitabhängigkeiten.

Empfohlene Prüfung

Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.

Executables

Installierte Executables

BefehlArtSichtbarkeitHinweis
ydiffcliglobales Executable

Aktualität

Version und Aktualität

Diese Signale trennen das Alter der Seitengenerierung, Aktivität des Paketmanagers und Upstream-Release-Vergleich. Versionsrückstand wird nur gemeldet, wenn eine Evidenz-URL und vergleichbare Versionen vorhanden sind.

Seite generiert2026-07-08
Manager-Version1.5
Manager aktualisiert
lokale DatenOK
Upstreamnot checked
neueste erkannte Versionnicht erkannt

https://github.com/ymattw/ydiff

  • InfoNo package-manager update timestamp was available.niedrig Konfidenz
  • InfoNo cached GitHub release or tag data was available.https://github.com/ymattw/ydiffnone Konfidenz

Installationsmetadaten

Paketmetadaten

Paketschlüsselbrew:ydiff
Version1.5
PaketmanagerHomebrew
Paketmanager-Seitehttps://formulae.brew.sh/formula/ydiff
Homepagehttps://github.com/ymattw/ydiff
Repositoryhttps://github.com/ymattw/ydiff
Upstream-Dokumentationhttps://github.com/ymattw/ydiff#readme
LizenzBSD-3-Clause
Quellarchivhttps://files.pythonhosted.org/packages/25/08/93b7e744645d94ae2f5dcddbbd2cfd5ec1420768994987a21a10b226be86/ydiff-1.5.tar.gz
Abhängigkeitenpython@3.14
Bottleverfügbar (auf all)
Homebrew post-installnicht definiert
Dienstkeiner deklariert

Registry-Fakten

Details aus der Quelldatenbank

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

Source-Datenbank-Treffer

Andere Paketmanager-Einträge

Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.

Debian apt95%

python3-cdiff 1.4.2-1

Colored, incremental diff (transitional package)

sudo apt install python3-cdiff
  • Section: python
  • Architecture: all
  • Source Package: ydiff
  • 1 Abhängigkeiten
  • normalized package name match
  • Abgeglichen nach: Ydiff
Debian stable package indexes · deb.debian.org · Debian stable package indexes: python3-cdiff from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

python3-ydiff 1.4.2-1

Colored, incremental diff with side by side and auto pager support (Python 3)

sudo apt install python3-ydiff
  • Section: python
  • Architecture: all
  • Source Package: ydiff
  • 1 Abhängigkeiten
  • 1 stellt bereit
  • normalized package name match
  • Abgeglichen nach: Ydiff
Debian stable package indexes · deb.debian.org · Debian stable package indexes: python3-ydiff from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

ydiff

nix profile install nixpkgs#ydiff
  • normalized package name match
  • Abgeglichen nach: Ydiff
nixpkgs package indexes · raw.githubusercontent.com · nixpkgs package indexes: ydiff from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
dnf95%

python3-ydiff 1.5-8.fc45

View colored, incremental diff

https://github.com/ymattw/ydiff

sudo dnf install python3-ydiff
  • License: BSD-3-Clause
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: ydiff
  • 1 Abhängigkeiten
  • 5 stellt bereit
  • normalized package name match
  • Abgeglichen nach: Ydiff
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: python3-ydiff from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

ydiff 1.5-8.fc45

View colored, incremental diff

https://github.com/ymattw/ydiff

sudo dnf install ydiff
  • License: BSD-3-Clause
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: ydiff
  • 3 Abhängigkeiten
  • 1 stellt bereit
  • normalized package name match
  • Abgeglichen nach: Ydiff
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: ydiff from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
MacPorts95%

ydiff

sudo port install ydiff
  • normalized package name match
  • Abgeglichen nach: Ydiff
MacPorts ports tree · api.github.com · MacPorts ports tree: textproc/ydiff/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

Quellspur

Aus Repository-Daten generiert

Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.

Verwendete Quellen

  • 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