# 使用 Homebrew, MacPorts, pacman 安装 ex-vi

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

## 安装

```sh
sudo av install brew:ex-vi
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install ex-vi
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install ex-vi
```

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

### Linux

- pacman (92%):

```sh
sudo pacman -S ex-vi-compat
```

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

## 软件包事实

- **软件包键:** brew:ex-vi
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/ex-vi>
- **版本:** 050325
- **来源摘要:** UTF8-friendly version of traditional vi
- **主页:** <https://ex-vi.sourceforge.net/>
- **上游文档:** <https://ex-vi.sourceforge.net/>
- **许可证:** BSD-4-Clause AND BSD-4-Clause-UC
- **源码归档:** <https://downloads.sourceforge.net/project/ex-vi/ex-vi/050325/ex-050325.tar.bz2>
- **最后更新:** 2026-06-05T02:30:08+02:00
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- vedit (cli)
- vedit (别名)

## macOS 提供的库

- ncurses

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 050325
- 管理器更新时间: 2026-06-05
- 本地数据: OK
- 上游仓库: https://ex-vi.sourceforge.net/
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

ex-vi, also known as The Traditional Vi, is a modern Unix port of the original ex/vi editor line, preserving classic vi behavior while adding portability and multibyte character support.

### 项目历史

The project site frames ex-vi as source code for modern Unix systems. It traces vi back to Bill Joy's work at UCB starting around 1976, and notes that the old source became freely usable after Caldera removed usage restrictions from ancient Unix code under a BSD-style license in January 2002.

The port deliberately preserves traditional vi's small size, terminal control style, and feature set. Its changes focus on modern Unix portability, international character-set support including UTF-8, and selected later System V or POSIX.2 behavior.

### 采用历史

ex-vi is adopted as a preservation-minded package rather than a modern editor platform. Package managers carry it for users who want traditional vi semantics, not Vim-style extensions.

The official page lists release 050325 as current and points adventurous users to a public CVS repository, while warning that CVS may be less tested than release archives.

### 使用方式

The vi manual describes vi, view, and vedit as visual-display editors based on ex. vi and ex share the same code, with users able to move between ex command mode and vi visual mode.

The manual documents ~/.exrc as a user configuration file, while the -s script mode explicitly disables EXINIT and .exrc processing.

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

ex-vi matters to package collectors because it is close to historical Unix vi without the larger feature set of clones such as Vim or nvi. It is a compact compatibility and heritage package.

It is also a useful test case for ports that want a real traditional vi, UTF-8 support, and old ex behavior without bundling a much larger editor.

### 时间线

- 1976: vi development began at UCB, according to the project site.
- 2002: Caldera removed usage restrictions from ancient Unix code under a BSD-style license.
- 2005: Release 050325 was published as the current release listed by the project page.
- 2007: The project page footer records Gunnar Ritter's 2007-11-29 update.

### Related projects

- ex is the line editor base shared with vi in this codebase.
- The project compares itself with vi clones and references the Heirloom Toolchest for CVS build components.

### 来源

- <https://ex-vi.sourceforge.net/>
- <https://ex-vi.sourceforge.net/vi.html>
- <https://ex-vi.sourceforge.net/ex.html>
- <http://ex-vi.cvs.sourceforge.net/ex-vi/ex-vi/>


## 安全说明

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: ~/.exrc
## 源数据库详情

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

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

- MacPorts - ex-vi: normalized package name match | MacPorts ports tree: editors/ex-vi/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- pacman - ex-vi-compat - 3-1: installed executable or alias match | Arch Linux sync databases: ex-vi-compat from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | The ex and vi commands based on vim's compatibility modes | https://gitlab.archlinux.org/archlinux/packaging/packages/ex-vi-compat


## 相关链接

- [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.
- [nano](https://pkg.so/zh-hans/brew/nano/) - Shares pkgdb curated category or tags: cli, developer-tools, terminal, text-editor.
- [micro](https://pkg.so/zh-hans/brew/micro/) - Shares pkgdb curated category or tags: cli, developer-tools, terminal, text-editor.
- [msedit](https://pkg.so/zh-hans/brew/msedit/) - Shares pkgdb curated category or tags: cli, developer-tools, terminal, text-editor.
- [orbiton](https://pkg.so/zh-hans/brew/orbiton/) - Shares pkgdb curated category or tags: cli, developer-tools, terminal, text-editor.
- [kakoune](https://pkg.so/zh-hans/brew/kakoune/) - Shares pkgdb curated category or tags: cli, developer-tools, text-editor.
- [nvi](https://pkg.so/zh-hans/brew/nvi/) - Shares pkgdb curated category or tags: cli, developer-tools, terminal, text-editor, vi.
- [helix](https://pkg.so/zh-hans/brew/helix/) - Shares pkgdb curated category or tags: cli, developer-tools, terminal, text-editor.
- [macvim](https://pkg.so/zh-hans/brew/macvim/) - Shares pkgdb curated category or tags: cli, developer-tools, text-editor.

## Combined YAML source

View the package source record on GitHub. [combined/ex-vi.yml](https://github.com/mxcl/pkgdb/blob/main/combined/ex-vi.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
