pkg.soopen package index

brew / 排名 934

使用 Homebrew, apk, dnf, MacPorts, Nix, pacman, zypper, scoop, winget 安装 difftastic

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install difftastic

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install difftastic

MacPorts ports tree · devel/difftastic/Portfile · 来源: api.github.com

Linux

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

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

Fedora dnf已验证 · 92%
sudo dnf install difftastic

Fedora Rawhide package metadata · difftastic · 来源: dl.fedoraproject.org

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

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

Arch Linux pacman已验证 · 92%
sudo pacman -S difftastic

Arch Linux sync databases · difftastic · 来源: geo.mirror.pkgbuild.com

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

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

Windows

Scoop已验证 · 92%
scoop install main/difftastic

Scoop official bucket manifest trees · bucket/difftastic.json · 来源: api.github.com

Windows Package Manager已验证 · 92%
winget install --id Wilfred.difftastic -e

Windows Package Manager source index · Wilfred.difftastic · 来源: cdn.winget.microsoft.com

概览

软件包摘要

Diff that understands syntax

命令和别名

  • difft

历史

项目历史与用法

Difftastic is a structural diff tool that compares files using syntax rather than only lines, producing human-oriented output for code review and version-control workflows.

项目历史

The project README defines Difftastic as a syntax-aware diff tool and explicitly contrasts it with line-oriented diffing. Its changelog shows rapid development from the 0.1 series in 2021 through regular parser, display, Git-integration, and performance improvements.

采用历史

The official installation documentation covers multiple package-manager routes, and the README highlights compatibility with Git and other version-control systems. The manual provides specific Git aliases, `diff.external`, and `difftool` configuration, which made the tool easy to adopt incrementally.

使用方式

Difftastic is commonly invoked as `difft` directly or wired into Git so `git diff`, `git show`, or `git log -p` can display syntax-aware differences. When files are unrecognized or parsing fails, the README documents fallback behavior to line-oriented diffing.

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

Difftastic is interesting to package nerds because it packages tree-sitter-backed structural comparison as a normal CLI. It lets maintainers review source changes in languages where reformatting, delimiters, and nested syntax can obscure the real change in a traditional unified diff.

时间线

  • 2021: 0.1 series began, followed by frequent early releases.
  • 2022: Changelog shows continued language, parser, and display expansion through the 0.30 series.
  • 2025: 0.63 taught directory diffs to ignore `.git` directories.
  • 2026: 0.69 released with punctuation-aware syntactic comparison improvements.

Related projects

  • Difftastic is related to traditional `diff`, Git external diff drivers, Git difftool integration, and tree-sitter parsers; its README also points users interested in AST merging to mergiraf.

安全态势

风险级别:绿色

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 元数据适用于 5 个平台目标。
  • 构建元数据列出 1 个构建依赖。

建议审查

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

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

Unix
~/.gitconfig

可执行文件

已安装的可执行文件

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

新鲜度

版本和新鲜度

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

页面生成时间2026-11-04
管理器版本0.72.0
管理器更新时间2026-10-29
本地数据OK
上游当前
检测到的最新版本0.72.0

https://github.com/Wilfred/difftastic

  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:difftastic
版本0.72.0
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/difftastic
主页https://difftastic.wilfred.me.uk/
仓库https://github.com/Wilfred/difftastic
上游文档https://difftastic.wilfred.me.uk/
许可证MIT
源码归档https://github.com/Wilfred/difftastic/archive/refs/tags/0.72.0.tar.gz
最后更新2026-10-29T23:27:34Z
Pulseupdated
构建依赖rust
Bottle可用 (于 arm64_golden_gate, arm64_linux, arm64_sequoia, arm64_tahoe, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

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

Nix95%

difftastic

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

difftastic 0.70.0-r0

Diff tool that understands syntax

https://difftastic.wilfred.me.uk/

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

difftastic-doc 0.70.0-r0

Diff tool that understands syntax (documentation)

https://difftastic.wilfred.me.uk/

sudo apk add difftastic-doc
  • License: MIT
  • Architecture: x86_64
  • Source Package: difftastic
  • normalized package name match
  • 匹配方式:Difftastic
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: difftastic-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

difftastic 0.69.0-2.fc45

Structural diff that understands syntax

https://crates.io/crates/difftastic

sudo dnf install difftastic
  • License: MIT AND (Apache-2.0 OR MIT) AND BSD-3-Clause AND Unicode-DFS-2016 AND Apache-2.0 AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND CECILL-C AND
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: rust-difftastic
  • 4 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Difftastic
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: difftastic from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/652278618dec9c023176a80c435a32a2c8154869fb0eb662c267a54df28d77d9-primary.xml.zst
pacman95%

difftastic 0.70.0-2

An experimental diff tool that compares files based on their syntax

https://difftastic.wilfred.me.uk

sudo pacman -S difftastic
  • License: MIT
  • Architecture: x86_64
  • 4 依赖
  • normalized package name match
  • 匹配方式:Difftastic
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: difftastic from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

difftastic 0.70.0-1.1

A structural diff that understands syntax

https://difftastic.wilfred.me.uk/

sudo zypper install difftastic
  • License: Apache-2.0 AND MIT
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: difftastic
  • 3 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Difftastic
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: difftastic from https://download.opensuse.org/tumbleweed/repo/oss/repodata/d310d5a96106e1e8872a385adf98aaa23be9db5d80937a6717314e7e7f37715065c6c748ab7ccee6475d620b46979c0fe64235fc0c46988e17edf659578fcf31-primary.xml.zst
zypper95%

difftastic-doc 0.70.0-1.1

Documentation for difftastic

https://difftastic.wilfred.me.uk/

sudo zypper install difftastic-doc
  • License: Apache-2.0 AND MIT
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: difftastic
  • 1 提供
  • normalized package name match
  • 匹配方式:Difftastic
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: difftastic-doc from https://download.opensuse.org/tumbleweed/repo/oss/repodata/d310d5a96106e1e8872a385adf98aaa23be9db5d80937a6717314e7e7f37715065c6c748ab7ccee6475d620b46979c0fe64235fc0c46988e17edf659578fcf31-primary.xml.zst
MacPorts95%

difftastic

sudo port install difftastic
  • normalized package name match
  • 匹配方式:Difftastic
MacPorts ports tree · api.github.com · MacPorts ports tree: devel/difftastic/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Scoop95%

main/difftastic

scoop install main/difftastic
  • normalized package name match
  • 匹配方式:Difftastic
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/difftastic.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
winget95%

Wilfred.difftastic

winget install --id Wilfred.difftastic -e
  • normalized package name match
  • 匹配方式:Difftastic
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: Wilfred.difftastic from https://cdn.winget.microsoft.com/cache/source.msix

来源线索

由仓库数据生成

此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment
  • pkg.so package database
  • pkgdb category and tag curation