# 使用 Homebrew, Nix, pacman, zypper, scoop, winget 安装 biodiff

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

## 安装

```sh
sudo av install brew:biodiff
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install biodiff
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#biodiff
```

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

- pacman (92%):

```sh
sudo pacman -S biodiff
```

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

- zypper (92%):

```sh
sudo zypper install biodiff
```

  证据: openSUSE Tumbleweed package metadata: biodiff from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

### Windows

- Scoop (92%):

```sh
scoop install main/biodiff
```

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

- winget (92%):

```sh
winget install --id 8051Enthusiast.biodiff -e
```

  证据: Windows Package Manager source index: 8051Enthusiast.biodiff from https://cdn.winget.microsoft.com/cache/source.msix

## 软件包事实

- **软件包键:** brew:biodiff
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/biodiff>
- **版本:** 1.2.1
- **来源摘要:** Hex diff viewer using alignment algorithms from biology
- **主页:** <https://github.com/8051Enthusiast/biodiff>
- **仓库:** <https://github.com/8051Enthusiast/biodiff>
- **上游文档:** <https://github.com/8051Enthusiast/biodiff#readme>
- **许可证:** MIT
- **源码归档:** <https://github.com/8051Enthusiast/biodiff.git>
- **已生成:** 2026-07-10T07:20:53+00:00

## 可执行文件

- biodiff (cli)
- git-biodiff (cli)
- biodiff (别名)
- git-biodiff (别名)

## 构建依赖

- cmake
- rust

## macOS 提供的库

- llvm

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-07-10
- 管理器版本: 1.2.1
- 本地数据: OK
- 上游仓库: https://github.com/8051Enthusiast/biodiff
- 信息: No package-manager update timestamp was available.
- 信息: No cached GitHub release or tag data was available.
## 项目历史与用法

biodiff is an interactive binary diff viewer that borrows biological sequence-alignment algorithms to line up similar regions of two binary files.

### 项目历史

The 8051Enthusiast/biodiff repository was created in May 2021. The README describes the tool as a binary diff viewer that displays two files side by side, pads missing bytes, and uses alignment algorithms from WFA2 or rust-bio, libraries normally associated with DNA sequence alignment.

### 采用历史

biodiff reached a 1.0.0 release in February 2022 and a 1.2.x series in April 2024. The input package metadata lists Homebrew, Nix, Arch/pacman, Scoop, Winget, and openSUSE/zypper, showing adoption across Unix, Windows package-manager, and Rust-adjacent channels.

### 使用方式

Users run `biodiff file_a file_b` for a terminal hex view, then switch between unaligned and aligned views, align regions near the cursor, do global or semiglobal alignment for smaller inputs, and optionally print diffs directly with `biodiff --print`.

The README notes that global alignment has quadratic time and space costs and is not a good fit for large files, which is a useful package-level expectation for people comparing firmware chunks or binary formats.

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

biodiff is interesting because it smuggles a bioinformatics idea into reverse-engineering tooling. The package name is literal: binary diffing improved by sequence alignment.

### 时间线

- 2021: Repository created and first v0.1.2 release published.
- 2022: v1.0.0 released.
- 2023: v1.1.0 released.
- 2024: v1.2.1 released.

### Related projects

- biodiff is related to WFA2-lib, rust-bio, cursive, hex viewers, binary diff tools, and `git difftool` workflows through its `git-biodiff` executable.

### 来源

- <https://github.com/8051Enthusiast/biodiff>
- <https://github.com/8051Enthusiast/biodiff/releases>
- <https://raw.githubusercontent.com/8051Enthusiast/biodiff/main/README.md>
- source_facts.package-manager


## 安全说明

narrow executable package without higher-risk signals.

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


## 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

- Linux: $BIODIFF_CONFIG_DIR/config.json, $XDG_CONFIG_HOME/biodiff/config.json, ~/.config/biodiff/config.json
- macOS: $BIODIFF_CONFIG_DIR/config.json, ~/Library/Application Support/biodiff/config.json
- Windows: %BIODIFF_CONFIG_DIR%\config.json, %APPDATA%\biodiff\config.json
## 源数据库详情

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

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

- Nix - biodiff: normalized package name match | nixpkgs package indexes: pkgs/by-name/bi/biodiff/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- pacman - biodiff - 1.2.1-2: normalized package name match | Arch Linux sync databases: biodiff from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Hex diff viewer using alignment algorithms from biology | https://github.com/8051Enthusiast/biodiff
- zypper - biodiff - 1.2.1-1.3: normalized package name match | openSUSE Tumbleweed package metadata: biodiff from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | A tool for binary diffing | https://github.com/8051Enthusiast/
- Scoop - main/biodiff: normalized package name match | Scoop official bucket manifest trees: bucket/biodiff.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - 8051Enthusiast.biodiff: normalized package name match | Windows Package Manager source index: 8051Enthusiast.biodiff from https://cdn.winget.microsoft.com/cache/source.msix


## 相关链接

- [Source-control packages](https://www.automicvault.com/zh-hans/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/zh-hans/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Scientific computing packages](https://www.automicvault.com/zh-hans/pkg/scientific-computing-tools/) - Matched scientific computing metadata.
- [cmake](https://www.automicvault.com/zh-hans/pkg/brew/cmake/) - Build dependency declared by Homebrew.
- [rust](https://www.automicvault.com/zh-hans/pkg/brew/rust/) - Build dependency declared by Homebrew.
- [abpoa](https://www.automicvault.com/zh-hans/pkg/brew/abpoa/) - Shares av.db curated category or tags: bioinformatics, cli, science.
- [abricate](https://www.automicvault.com/zh-hans/pkg/brew/abricate/) - Shares av.db curated category or tags: bioinformatics, cli, science.
- [abyss](https://www.automicvault.com/zh-hans/pkg/brew/abyss/) - Shares av.db curated category or tags: bioinformatics, cli, science.
- [adapterremoval](https://www.automicvault.com/zh-hans/pkg/brew/adapterremoval/) - Shares av.db curated category or tags: bioinformatics, cli, science.
- [alevin-fry](https://www.automicvault.com/zh-hans/pkg/brew/alevin-fry/) - Shares av.db curated category or tags: bioinformatics, cli, science.
- [any2fasta](https://www.automicvault.com/zh-hans/pkg/brew/any2fasta/) - Shares av.db curated category or tags: bioinformatics, cli, science.
- [augustus](https://www.automicvault.com/zh-hans/pkg/brew/augustus/) - Shares av.db curated category or tags: bioinformatics, cli, science.
- [autocycler](https://www.automicvault.com/zh-hans/pkg/brew/autocycler/) - Shares av.db curated category or tags: bioinformatics, cli, science.
- [mummer](https://www.automicvault.com/zh-hans/pkg/brew/mummer/) - Local package facts share a topical domain. Shared terms: alignment, bioinformatics, cli, diff, science.
- [bwa](https://www.automicvault.com/zh-hans/pkg/brew/bwa/) - Local package facts share a topical domain. Shared terms: alignment, bioinformatics, cli, science.

## Combined YAML source

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


## 来源

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- 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
