pkg.soopen package index

brew / 排名 8214

使用 Homebrew, apt, MacPorts, Nix, dnf 安装 nvi

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install nvi

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install nvi

MacPorts ports tree · editors/nvi/Portfile · 来源: api.github.com

Linux

Debian apt已验证 · 92%
sudo apt install nvi

Debian stable package indexes · nvi · 来源: deb.debian.org

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

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

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

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

概览

软件包摘要

44BSD re-implementation of vi

命令和别名

  • nex
  • nvi
  • nview

历史

项目历史与用法

nvi is the Berkeley-line reimplementation of ex/vi: a small, traditional vi rather than a Vim-family editor. In package-manager terms it is the BSD vi option people install when they want historical ex/vi behavior with nvi's later conveniences.

项目历史

The nvi source describes the editor as a reimplementation of the ex/vi editors from 4BSD. Keith Bostic's Berkeley Vi page says the source is freely available and redistributable, and lists features that distinguished nvi from old vi, including multiple edit buffers, command-line editing, path completion, tag stacks with cscope support, extended regular expressions, infinite undo, horizontal scrolling, message catalogs, and early Perl/Tcl scripting support.

The repo.or.cz README records the deeper lineage: nvi was originally derived from Steve Kirkendall's elvis vi clone, uses Henry Spencer's POSIX-style regular expression code, and retains acknowledgements to Bill Joy and Mark Horton from original vi. The maintained repo also shows ongoing maintenance by Sven Verdoolaege.

采用历史

nvi's adoption is mostly Unix/BSD preservation rather than hype-cycle growth. It appears in Homebrew, Debian, MacPorts, Nix, and related package sets as the classic 44BSD vi reimplementation, while Homebrew's formula distributes version 1.81.6 as bottled packages for macOS and Linux.

Homebrew marks the formula deprecated. That does not erase nvi's historical role, but it does show the Homebrew package has become a legacy editor package rather than an actively expanding developer-tool ecosystem.

使用方式

Users run nvi directly as `nvi`, `nex`, or `nview` for vi, ex, and read-only view workflows. Package nerds pick it for low-dependency POSIX-ish editing, scripts or muscle memory built around vi/ex behavior, and systems where Vim or Neovim would be more editor than needed.

The practical distinction is that nvi aims to preserve ex/vi semantics while adding careful terminal-era quality-of-life features. It is a good fit for editing config files, working over remote shells, and testing vi-compatible behavior.

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

nvi is significant because it carries the Berkeley vi branch into modern package managers. It is not the most popular vi implementation, but it is one of the reference points for what 'real vi' means on BSD-like systems.

Its package story is also a reminder that some important packages are maintained as infrastructure memory: small install counts, old code, and still useful when compatibility matters.

时间线

  • 4BSD era: ex/vi originated in the Berkeley Software Distribution lineage.
  • 1990s: nvi became the freely redistributable Berkeley vi reimplementation associated with Keith Bostic.
  • 2001-04-30: the repo.or.cz README revision identifies the tree as nvi 1.80-era source.
  • 2000s: repo.or.cz tags record the 1.81.x line, including nvi-1.81.6.

Related projects

  • elvis is the vi clone from which the nvi README says the project was originally derived.
  • Vim and Neovim are larger vi-family editors with much broader plugin ecosystems.
  • nvi2 is a multibyte-oriented fork of nvi.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • 未记录 Homebrew bottle 元数据。

建议审查

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

可执行文件

已安装的可执行文件

命令类型暴露范围备注
nex可执行文件已索引可执行文件从本地可执行文件索引发现。
nvi可执行文件已索引可执行文件从本地可执行文件索引发现。
nview可执行文件已索引可执行文件从本地可执行文件索引发现。

新鲜度

版本和新鲜度

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

页面生成时间2026-08-03
管理器版本1.81.6
管理器更新时间2026-06-28
本地数据未知
上游不可用
检测到的最新版本未检测到
  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:nvi
版本1.81.6
软件包管理器Homebrew
主页https://repo.or.cz/nvi.git
最后更新2026-06-28T21:02:37+01:00
Pulseupdated
Bottle未记录
服务未声明

源数据库匹配

其他软件包管理器记录

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

Debian apt95%

nvi 1.81.6-23

4.4BSD re-implementation of vi

https://repo.or.cz/nvi.git

sudo apt install nvi
  • Section: editors
  • Architecture: amd64
  • 4 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Nvi
Debian stable package indexes · deb.debian.org · Debian stable package indexes: nvi from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

nvi-doc 1.81.6-23

4.4BSD re-implementation of vi - documentation files

https://repo.or.cz/nvi.git

sudo apt install nvi-doc
  • Section: doc
  • Architecture: all
  • Source Package: nvi
  • normalized package name match
  • 匹配方式:Nvi
Debian stable package indexes · deb.debian.org · Debian stable package indexes: nvi-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

nvi

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

nvi 1.81.6-21

4.4BSD re-implementation of vi

https://repo.or.cz/nvi.git

sudo apt install nvi
  • Section: universe/editors
  • Architecture: amd64
  • 4 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Nvi
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: nvi from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

nvi-doc 1.81.6-21

4.4BSD re-implementation of vi - documentation files

https://repo.or.cz/nvi.git

sudo apt install nvi-doc
  • Section: universe/doc
  • Architecture: all
  • Source Package: nvi
  • normalized package name match
  • 匹配方式:Nvi
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: nvi-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
MacPorts95%

nvi

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

nex 0.0.0+git.2021.03.30.1a3320dab9-3

lexer similar to Lex/Flex - cli

https://github.com/blynn/nex

sudo apt install nex
  • Section: admin
  • Architecture: amd64
  • Source Package: golang-github-blynn-nex
  • 1 可选依赖
  • installed executable or alias match
  • 匹配方式:Nex
Debian stable package indexes · deb.debian.org · Debian stable package indexes: nex from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix92%

nex

nix profile install nixpkgs#nex
  • installed executable or alias match
  • 匹配方式:Nex
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ne/nex/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt92%

nex 0.0.0+git.2021.03.30.1a3320dab9-2

lexer similar to Lex/Flex - cli

https://github.com/blynn/nex

sudo apt install nex
  • Section: universe/admin
  • Architecture: amd64
  • Source Package: golang-github-blynn-nex
  • 1 可选依赖
  • installed executable or alias match
  • 匹配方式:Nex
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: nex from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
dnf92%

nex 20210330-19.fc45

A lexer generator for Go that is similar to Lex/Flex

http://www-cs-students.stanford.edu/~blynn/nex/

sudo dnf install nex
  • License: GPL-3.0-only
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: nex
  • 2 依赖
  • 1 提供
  • installed executable or alias match
  • 匹配方式:Nex
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: nex from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

来源线索

由仓库数据生成

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

使用的来源

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • pkg.so package database
  • pkgdb category and tag curation