macOS
brew install nvilocal Homebrew formula metadata
sudo port install nviMacPorts ports tree · editors/nvi/Portfile · ソース: api.github.com
brew
nvi のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install nvilocal Homebrew formula metadata
sudo port install nviMacPorts ports tree · editors/nvi/Portfile · ソース: api.github.com
nix profile install nixpkgs#nvinixpkgs package indexes · pkgs/by-name/nv/nvi/package.nix · ソース: api.github.com
sudo dnf install nexFedora Rawhide package metadata · nex · ソース: dl.fedoraproject.org
概要
44BSD re-implementation of vi
履歴
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.
セキュリティ状態
narrow executable package without higher-risk signals.
リスク グリーン · 信頼度 低 · appliance
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
nex | cli | グローバル実行可能ファイル | |
nvi | cli | グローバル実行可能ファイル | |
nview | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
インストールメタデータ
| パッケージキー | 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 |
| Pulse | updated |
| 依存関係 | 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 Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | nvi |
| Version Scheme | 0 |
| Revision | 6 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | yes |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
nvi 1.81.6-23
4.4BSD re-implementation of vi
sudo apt install nvinvi-doc 1.81.6-23
4.4BSD re-implementation of vi - documentation files
sudo apt install nvi-docnvi
nix profile install nixpkgs#nvinvi 1.81.6-21
4.4BSD re-implementation of vi
sudo apt install nvinvi-doc 1.81.6-21
4.4BSD re-implementation of vi - documentation files
sudo apt install nvi-docnvi
sudo port install nvinex 0.0.0+git.2021.03.30.1a3320dab9-3
lexer similar to Lex/Flex - cli
sudo apt install nexnex
nix profile install nixpkgs#nexnex 0.0.0+git.2021.03.30.1a3320dab9-2
lexer similar to Lex/Flex - cli
sudo apt install nexnex 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ソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.