# 使用 Homebrew, apk, apt, dnf, MacPorts, Nix, zypper 安装 bvi

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

## 安装

```sh
sudo av install brew:bvi
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install bvi
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install bvi
```

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

### Linux

- apk (92%):

```sh
sudo apk add bvi
```

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

- Debian apt (92%):

```sh
sudo apt install bvi
```

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

- dnf (92%):

```sh
sudo dnf install bvi
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#bvi
```

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

- zypper (92%):

```sh
sudo zypper install bvi
```

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

## 软件包事实

- **软件包键:** brew:bvi
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/bvi>
- **版本:** 1.5.0
- **来源摘要:** Vi-like binary file (hex) editor
- **主页:** <https://bvi.sourceforge.net/>
- **上游文档:** <https://bvi.sourceforge.net/>
- **许可证:** GPL-3.0-or-later
- **源码归档:** <https://downloads.sourceforge.net/project/bvi/bvi/1.5.0/bvi-1.5.0.src.tar.gz>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- bmore (cli)
- bvedit (cli)
- bvi (cli)
- bview (cli)
- bmore (别名)
- bvedit (别名)
- bvi (别名)
- bview (别名)

## macOS 提供的库

- ncurses

## 安装行为

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

## 版本和新鲜度

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

bvi is a vi-style binary and hex editor by Gerhard Buergmann. It keeps the modal, command-oriented feel of vi while treating files as byte streams rather than text lines.

### 项目历史

The official home page describes bvi as a display-oriented editor for binary files, based on the vi text editor, and notes that the package also includes the bmore viewer. The README in the official GitHub repository identifies Gerhard Buergmann as the author and states that bvi is distributed under the GPL.

The project has a long SourceForge release history: the download page lists 1.3.0 in 2001, 1.3.1 in 2002, 1.3.2 in 2004, 1.4.x releases in 2014, 2019, and 2023, and 1.5.0 as the stable release in 2025.

### 采用历史

bvi spread through traditional Unix packaging channels because it solves a small but durable problem: editing binary files from a terminal with vi muscle memory. The official download page links to Debian, FreeBSD, Fedora, MacPorts, HP-UX, Solaris, Cygwin, and older static Linux executables; the supplied package facts also show Homebrew, Alpine, Nix, Ubuntu, and zypper packaging.

### 使用方式

bvi is used for direct inspection and patching of binary files. Its manpage explains the three-pane display with byte offsets, hex bytes, and printable characters, byte-offset ranges instead of line ranges, hex search commands, read-only mode, partial file loading, and startup commands via BVIINIT, ~/.bvirc, or ./.bvirc.

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

bvi is a classic small Unix utility: curses-based, vi-shaped, and useful when heavyweight GUI hex editors are unavailable. Its packaging significance comes from portability and from the fact that it preserves vi semantics in a domain where line-oriented editor assumptions break.

### 时间线

- 2001: bvi 1.3.0 source release is listed on the official download page.
- 2004: bvi 1.3.2 source and RPM-era packages are listed.
- 2014: bvi 1.4.0 source release is listed.
- 2023: bvi 1.4.2 source release is listed.
- 2025: bvi 1.5.0 is listed as the current stable release.

### Related projects

- vi is the command model bvi adapts for binary editing.
- bmore is the binary viewer included with bvi.
- Other hex editors occupy the same niche, but bvi is distinct for keeping vi-style modal editing.

### 来源

- <https://bvi.sourceforge.net/>
- <https://bvi.sourceforge.net/download.php>
- <https://bvi.sourceforge.net/links.php>
- <https://bvi.sourceforge.net/man_bvi.html>
- <https://github.com/buergmann/bvi>


## 安全说明

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

- Unix: ~/.bvirc, ./.bvirc
## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** bvi
- **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 - bvi - 1.4.2-3: normalized package name match | Debian stable package indexes: bvi from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | binary file editor | https://bvi.sourceforge.net/
- Nix - bvi: normalized package name match | nixpkgs package indexes: pkgs/by-name/bv/bvi/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - bvi - 1.4.2-2: normalized package name match | Ubuntu 24.04 LTS package indexes: bvi from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | binary file editor | https://bvi.sourceforge.net/
- apk - bvi - 1.5.0-r0: normalized package name match | Alpine Linux edge package indexes: bvi from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Display-oriented editor for binary files based on vi | https://bvi.sourceforge.net/
- apk - bvi-doc - 1.5.0-r0: normalized package name match | Alpine Linux edge package indexes: bvi-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Display-oriented editor for binary files based on vi (documentation) | https://bvi.sourceforge.net/
- dnf - bvi - 1.5.0-4.fc45: normalized package name match | Fedora Rawhide package metadata: bvi from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Display-oriented editor for binary files | http://bvi.sourceforge.net/
- zypper - bvi - 1.5.0-1.5: normalized package name match | openSUSE Tumbleweed package metadata: bvi from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Editor for binary files | https://bvi.sourceforge.net
- MacPorts - bvi: normalized package name match | MacPorts ports tree: editors/bvi/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## 相关链接

- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/zh-hans/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/zh-hans/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [dhex](https://pkg.so/zh-hans/brew/dhex/) - Shares pkgdb curated category or tags: cli, developer-tools, hex-editor.
- [dz6](https://pkg.so/zh-hans/brew/dz6/) - Shares pkgdb curated category or tags: cli, developer-tools, hex-editor.
- [lnav](https://pkg.so/zh-hans/brew/lnav/) - Shares pkgdb curated category or tags: cli, curses, developer-tools, terminal.
- [hexedit](https://pkg.so/zh-hans/brew/hexedit/) - Shares pkgdb curated category or tags: cli, developer-tools, hex-editor, terminal.
- [ghex](https://pkg.so/zh-hans/brew/ghex/) - Shares pkgdb curated category or tags: binary-editor, cli, developer-tools, hex-editor.
- [cgdb](https://pkg.so/zh-hans/brew/cgdb/) - Shares pkgdb curated category or tags: cli, curses, developer-tools, terminal.
- [nvi](https://pkg.so/zh-hans/brew/nvi/) - Shares pkgdb curated category or tags: cli, developer-tools, terminal, vi.
- [hexer](https://pkg.so/zh-hans/brew/hexer/) - Shares pkgdb curated category or tags: cli, developer-tools, hex-editor, terminal.
- [hyx](https://pkg.so/zh-hans/brew/hyx/) - Local package facts share a topical domain. Shared terms: binary, cli, developer, developer-tools, editor.

## Combined YAML source

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


## 来源

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