Automic VaultAutomic Vault

brew

nvi を Homebrew, apt, MacPorts, Nix, dnf でインストール

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

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • Homebrew bottle メタデータは 13 個のプラットフォームターゲットで利用できます。
  • 1 件の実行時依存関係とともにインストールされます。
  • ビルドメタデータには 4 件のビルド依存関係があります。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
nexcliグローバル実行可能ファイル
nvicliグローバル実行可能ファイル
nviewcliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-07-08
マネージャ版1.81.6
マネージャ更新日2026-06-28
ローカルデータOK
上流not checked
検出された最新未検出

https://repo.or.cz/nvi

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:nvi
バージョン1.81.6
パッケージマネージャHomebrew
パッケージマネージャページhttps://formulae.brew.sh/formula/nvi
ホームページhttps://repo.or.cz/nvi.git
リポジトリhttps://repo.or.cz/nvi.git
上流ドキュメントhttps://repo.or.cz/nvi.git
ライセンスBSD-3-Clause
ソースアーカイブhttps://deb.debian.org/debian/pool/main/n/nvi/nvi_1.81.6.orig.tar.gz
最終更新2026-06-28T21:02:37+01:00
Pulseupdated
依存関係berkeley-db@5
ビルド依存関係autoconf, automake, libtool, xz
macOS 提供ライブラリncurses
Bottle利用可能 (対象 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura, x86_64_linux)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namenvi
Version Scheme0
Revision6
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedyes
Disabledno
Keg Onlyno
URL Keys
  • stable

ソースデータベース一致

他のパッケージマネージャ記録

一致は外部パッケージマネージャインデックスから取得され、ローカルの 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-18.fc44

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/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

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