# 使用 Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, scoop, winget 安装 vbindiff

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

## 安装

```sh
sudo av install brew:vbindiff
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install vbindiff
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install vbindiff
```

  证据: MacPorts ports tree: sysutils/vbindiff/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add vbindiff
```

  证据: Alpine Linux edge package indexes: vbindiff from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install vbindiff
```

  证据: Debian stable package indexes: vbindiff from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install vbindiff
```

  证据: Fedora Rawhide package metadata: vbindiff from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#vbindiff
```

  证据: nixpkgs package indexes: pkgs/by-name/vb/vbindiff/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S vbindiff
```

  证据: Arch Linux sync databases: vbindiff from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

### Windows

- Scoop (92%):

```sh
scoop install main/vbindiff
```

  证据: Scoop official bucket manifest trees: bucket/vbindiff.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

- winget (92%):

```sh
winget install --id Madsen.VBinDiff -e
```

  证据: Windows Package Manager source index: Madsen.VBinDiff from https://cdn.winget.microsoft.com/cache/source.msix

## 软件包事实

- **软件包键:** brew:vbindiff
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/vbindiff>
- **版本:** 3.0_beta5
- **来源摘要:** Visual Binary Diff
- **主页:** <https://www.cjmweb.net/vbindiff/>
- **仓库:** <https://github.com/madsen/vbindiff>
- **上游文档:** <https://www.cjmweb.net/vbindiff/VBinDiff-Win32>
- **许可证:** GPL-2.0-or-later
- **源码归档:** <https://www.cjmweb.net/vbindiff/vbindiff-3.0_beta5.tar.gz>
- **已生成:** 2026-07-08T18:08:21+00:00

## 可执行文件

- vbindiff (cli)
- vbindiff (别名)

## macOS 提供的库

- ncurses

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 3.0_beta5
- 本地数据: OK
- 上游仓库: https://www.cjmweb.net/vbindiff/
- 信息: No package-manager update timestamp was available.
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

VBinDiff, short for Visual Binary Diff, is a terminal-oriented binary file viewer and comparison tool. It displays hexadecimal bytes alongside ASCII or EBCDIC text, can show two files at once, and highlights byte-level differences.

### 项目历史

Christopher J. Madsen created VBinDiff after using the Compare Files function from Glen Bredon's ProSel utilities on the Apple II and failing to find a comparable utility for the PC. The single-file mode was inspired by the LIST utility from 4DOS and related shells, filling a gap left by line-oriented pagers such as `less` and inefficient `hexdump` pipelines for very large files.

The official release history traces a long, small-tool lineage: VBinDiff 1.x was first publicly released for OS/2 in January 1996; an unreleased 2.x line was ported from OS/2 to Win32 in October 1997; another unreleased 2.x added file editing in October 2004; and the 3.0 beta line began in November 2005 with POSIX support, single-file mode, EBCDIC support, and resizable console support.

The 3.0 beta series continued in 2008 with line-editor improvements and bug fixes, then in 2017 development moved to GitHub with 3.0 beta 5. The official source page still distributes source and Windows builds for that beta and points users to GitHub for ongoing development.

### 采用历史

VBinDiff became a classic package-repository utility because it solves a precise problem that ordinary text diff tools do not: visually inspecting and aligning differences in binary files without loading an entire multi-gigabyte file into an editor. Its presence in Homebrew, Debian, Arch, MacPorts, Nix, Scoop, Winget, and other package ecosystems reflects that enduring command-line niche.

The tool's adoption is not driven by a large plugin ecosystem or frequent releases. It survives because reverse engineers, firmware tinkerers, file-format debuggers, systems programmers, and package maintainers occasionally need a compact visual hex diff that runs in a terminal.

### 使用方式

The basic invocation is `vbindiff file1 [file2]`. With one file it acts as a hex/ASCII viewer; with two files it scrolls both together and highlights differences. Users can jump to the next difference, search for strings or byte sequences, move to a file position, toggle ASCII/EBCDIC display, and edit bytes in place.

Its documentation is explicit about scope: VBinDiff works well with files up to 4 GB and can display the first 4 GB of larger files, but the classic interface is limited by 8-digit file positions. That constraint is part of its package-nerd charm: the tool is tiny, old-school, and direct rather than a modern binary-analysis platform.

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

VBinDiff is the kind of utility that distribution maintainers keep around because it does one job better than a shell pipeline: interactive binary comparison in a portable console UI. It is a useful companion to `cmp`, `diff`, `hexdump`, `xxd`, and full hex editors, occupying the middle ground between batch comparison and heavyweight GUI inspection.

The package also carries a recognizable historical arc across OS/2, Win32, and POSIX/curses environments, making it a small artifact of cross-platform command-line tool culture from the 1990s through the GitHub era.

### 时间线

- 1996-01: First public OS/2 release of VBinDiff 1.x.
- 1997-10: Unreleased 2.x line ported from OS/2 to Win32, dropping OS/2 support.
- 2004-10: Unreleased 2.x line adds file editing.
- 2005-11-11: VBinDiff 3.0 beta 1 adds POSIX support, single-file mode, EBCDIC support, and resizable consoles.
- 2008-06/07: 3.0 beta 2 through beta 4 improve the line editor and fix Windows editing issues.
- 2017-09-10: 3.0 beta 5 moves development to Git and GitHub.

### Related projects

- ProSel for Apple II inspired the two-file comparison model.
- 4DOS LIST inspired the single-file hex display mode.
- `diff`, `cmp`, `hexdump`, `xxd`, and terminal hex editors are neighboring tools in the same workflow.

### 来源

- Official GitHub repository: https://github.com/madsen/vbindiff
- Official VBinDiff page and release history: https://www.cjmweb.net/vbindiff/
- Official Windows documentation: https://www.cjmweb.net/vbindiff/VBinDiff-Win32


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** vbindiff
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## 其他软件包管理器记录

- Debian apt - vbindiff - 3.0-beta5-2: normalized package name match | Debian stable package indexes: vbindiff from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | visual binary diff, visually compare binary files | http://www.cjmweb.net/vbindiff/
- Nix - vbindiff: normalized package name match | nixpkgs package indexes: pkgs/by-name/vb/vbindiff/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - vbindiff - 3.0-beta5-2: normalized package name match | Ubuntu 24.04 LTS package indexes: vbindiff from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | visual binary diff, visually compare binary files | http://www.cjmweb.net/vbindiff/
- apk - vbindiff - 3.0_beta5-r3: normalized package name match | Alpine Linux edge package indexes: vbindiff from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | ncurses hex editor with diff mode for binary file comparison, supports files up to 4GB | https://www.cjmweb.net/vbindiff/
- apk - vbindiff-doc - 3.0_beta5-r3: normalized package name match | Alpine Linux edge package indexes: vbindiff-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | ncurses hex editor with diff mode for binary file comparison, supports files up to 4GB (documentation) | https://www.cjmweb.net/vbindiff/
- dnf - vbindiff - 3.0-0.36.beta4.fc44: normalized package name match | Fedora Rawhide package metadata: vbindiff from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Visual binary diff | http://www.cjmweb.net/vbindiff/
- pacman - vbindiff - 3.0_beta5-3: normalized package name match | Arch Linux sync databases: vbindiff from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | displays files in hexadecimal and ASCII (or EBCDIC) and highlight the differences between them | https://www.cjmweb.net/vbindiff/
- MacPorts - vbindiff: normalized package name match | MacPorts ports tree: sysutils/vbindiff/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Scoop - main/vbindiff: normalized package name match | Scoop official bucket manifest trees: bucket/vbindiff.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - Madsen.VBinDiff: normalized package name match | Windows Package Manager source index: Madsen.VBinDiff from https://cdn.winget.microsoft.com/cache/source.msix


## 相关链接

- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/zh-hans/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/zh-hans/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/zh-hans/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [bsdiff](https://www.automicvault.com/zh-hans/pkg/brew/bsdiff/) - Shares av.db curated category or tags: binary-diff, cli, developer-tools, diff.
- [colordiff](https://www.automicvault.com/zh-hans/pkg/brew/colordiff/) - Shares av.db curated category or tags: cli, developer-tools, diff, terminal.
- [diff-so-fancy](https://www.automicvault.com/zh-hans/pkg/brew/diff-so-fancy/) - Shares av.db curated category or tags: cli, developer-tools, diff, terminal.
- [diffr](https://www.automicvault.com/zh-hans/pkg/brew/diffr/) - Shares av.db curated category or tags: cli, developer-tools, diff, terminal.
- [diffutils](https://www.automicvault.com/zh-hans/pkg/brew/diffutils/) - Shares av.db curated category or tags: cli, developer-tools, diff, file-comparison.
- [icdiff](https://www.automicvault.com/zh-hans/pkg/brew/icdiff/) - Shares av.db curated category or tags: cli, developer-tools, diff, terminal.
- [vtable-dumper](https://www.automicvault.com/zh-hans/pkg/brew/vtable-dumper/) - Shares av.db curated category or tags: binary-analysis, c-plus-plus, cli, developer-tools.
- [xdelta](https://www.automicvault.com/zh-hans/pkg/brew/xdelta/) - Shares av.db curated category or tags: binary-diff, cli, developer-tools, diff.
- [dwarf](https://www.automicvault.com/zh-hans/pkg/brew/dwarf/) - Local package facts share a topical domain. Shared terms: analysis, binary, binary-analysis, cli, developer.

## Combined YAML source

View the package source record on GitHub. [combined/vbindiff.yml](https://github.com/automic-vault/db/blob/main/combined/vbindiff.yml)


## 来源

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
