# nvi mit Homebrew, apt, MacPorts, Nix, dnf installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für nvi in AI-Agent-Workflows.

## Installation

```sh
sudo av install brew:nvi
```

Weitere Installationsbefehle:

### macOS

- Homebrew (100%):

```sh
brew install nvi
```

  Evidenz: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install nvi
```

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

### Linux

- Debian apt (92%):

```sh
sudo apt install nvi
```

  Evidenz: Debian stable package indexes: nvi from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- Nix (92%):

```sh
nix profile install nixpkgs#nvi
```

  Evidenz: nixpkgs package indexes: pkgs/by-name/nv/nvi/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- dnf (92%):

```sh
sudo dnf install nex
```

  Evidenz: Fedora Rawhide package metadata: nex from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

## Paketfakten

- **Paketschlüssel:** brew:nvi
- **Paketmanager:** Homebrew
- **Paketmanager-Seite:** <https://formulae.brew.sh/formula/nvi>
- **Version:** 1.81.6
- **Quellzusammenfassung:** 44BSD re-implementation of vi
- **Homepage:** <https://repo.or.cz/nvi.git>
- **Repository:** <https://repo.or.cz/nvi.git>
- **Upstream-Dokumentation:** <https://repo.or.cz/nvi.git>
- **Lizenz:** BSD-3-Clause
- **Quellarchiv:** <https://deb.debian.org/debian/pool/main/n/nvi/nvi_1.81.6.orig.tar.gz>
- **Zuletzt aktualisiert:** 2026-06-28T21:02:37+01:00
- **Generiert:** 2026-07-08T18:08:21+00:00

## Executables

- nex (cli)
- nvi (cli)
- nview (cli)
- nex (Alias)
- nvi (Alias)
- nview (Alias)

## Abhängigkeiten

- berkeley-db@5

## Build-Abhängigkeiten

- autoconf
- automake
- libtool
- xz

## Von macOS bereitgestellte Bibliotheken

- ncurses

## Installationsverhalten

- Post-install-Hook: nicht definiert
- Bottle: verfügbar auf arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura

## Version und Aktualität

- Seite generiert: 2026-07-08
- Manager-Version: 1.81.6
- Manager aktualisiert: 2026-06-28
- lokale Daten: OK
- Upstream-Repository: https://repo.or.cz/nvi
- Info: Release/tag comparison is only available for GitHub repositories.
## Projektgeschichte und Nutzung

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.

### Projektgeschichte

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.

### Adoptionsgeschichte

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.

### Wie es verwendet wird

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.

### Warum Paket-Nerds sich dafür interessieren

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.

### Zeitleiste

- 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.

### Quellen

- <https://formulae.brew.sh/formula/nvi>
- <https://repo.or.cz/nvi.git>
- <https://sites.google.com/a/bostic.com/keithbostic/the-berkeley-vi-editor-home-page>
- <https://sites.google.com/a/bostic.com/keithbostic/the-berkeley-vi-editor-home-page/nvi-faq>


## Sicherheitshinweise

narrow executable package without higher-risk signals.

- **Geiger-Risiko:** grün / niedrig
- narrow executable package without higher-risk signals

## Details aus der Quelldatenbank

- **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:** stable

## Andere Paketmanager-Einträge

- Debian apt - nvi - 1.81.6-23: normalized package name match | Debian stable package indexes: nvi from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | 4.4BSD re-implementation of vi | https://repo.or.cz/nvi.git
- Debian apt - nvi-doc - 1.81.6-23: normalized package name match | Debian stable package indexes: nvi-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | 4.4BSD re-implementation of vi - documentation files | https://repo.or.cz/nvi.git
- Nix - nvi: normalized package name match | nixpkgs package indexes: pkgs/by-name/nv/nvi/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - nvi - 1.81.6-21: normalized package name match | Ubuntu 24.04 LTS package indexes: nvi from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | 4.4BSD re-implementation of vi | https://repo.or.cz/nvi.git
- Ubuntu apt - nvi-doc - 1.81.6-21: normalized package name match | Ubuntu 24.04 LTS package indexes: nvi-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | 4.4BSD re-implementation of vi - documentation files | https://repo.or.cz/nvi.git
- MacPorts - nvi: normalized package name match | MacPorts ports tree: editors/nvi/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Debian apt - nex - 0.0.0+git.2021.03.30.1a3320dab9-3: installed executable or alias match | Debian stable package indexes: nex from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | lexer similar to Lex/Flex - cli | https://github.com/blynn/nex
- Nix - nex: installed executable or alias match | nixpkgs package indexes: pkgs/by-name/ne/nex/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - nex - 0.0.0+git.2021.03.30.1a3320dab9-2: installed executable or alias match | Ubuntu 24.04 LTS package indexes: nex from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | lexer similar to Lex/Flex - cli | https://github.com/blynn/nex
- dnf - nex - 20210330-18.fc44: installed executable or alias match | Fedora Rawhide package metadata: nex from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | A lexer generator for Go that is similar to Lex/Flex | http://www-cs-students.stanford.edu/~blynn/nex/


## Verwandte Links

- [Source-control packages](https://www.automicvault.com/de/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/de/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/de/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/de/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [autoconf](https://www.automicvault.com/de/pkg/brew/autoconf/) - Build dependency declared by Homebrew.
- [automake](https://www.automicvault.com/de/pkg/brew/automake/) - Build dependency declared by Homebrew.
- [libtool](https://www.automicvault.com/de/pkg/brew/libtool/) - Build dependency declared by Homebrew.
- [xz](https://www.automicvault.com/de/pkg/brew/xz/) - Build dependency declared by Homebrew.
- [vis](https://www.automicvault.com/de/pkg/brew/vis/) - Shares av.db curated category or tags: cli, developer-tools, text-editor, text-editors, vi.
- [ex-vi](https://www.automicvault.com/de/pkg/brew/ex-vi/) - Shares av.db curated category or tags: cli, developer-tools, terminal, text-editor, vi.
- [bvi](https://www.automicvault.com/de/pkg/brew/bvi/) - Shares av.db curated category or tags: cli, developer-tools, terminal, vi.
- [micro](https://www.automicvault.com/de/pkg/brew/micro/) - Shares av.db curated category or tags: cli, developer-tools, terminal, text-editor.
- [mle](https://www.automicvault.com/de/pkg/brew/mle/) - Shares av.db curated category or tags: cli, developer-tools, terminal, text-editor.
- [msedit](https://www.automicvault.com/de/pkg/brew/msedit/) - Shares av.db curated category or tags: cli, developer-tools, terminal, text-editor.
- [nano](https://www.automicvault.com/de/pkg/brew/nano/) - Shares av.db curated category or tags: cli, developer-tools, terminal, text-editor.
- [orbiton](https://www.automicvault.com/de/pkg/brew/orbiton/) - Shares av.db curated category or tags: cli, developer-tools, terminal, text-editor.
- [neatvi](https://www.automicvault.com/de/pkg/brew/neatvi/) - Local package facts share a topical domain. Shared terms: cli, editor, editors, ex, text.

## Combined YAML source

View the package source record on GitHub. [combined/nvi.yml](https://github.com/automic-vault/db/blob/main/combined/nvi.yml)


## Quellen

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