# Installer nvi avec Homebrew, apt, MacPorts, Nix, dnf

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de nvi pour les workflows d'agents IA.

## installation

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

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install nvi
```

  Preuve: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install nvi
```

  Preuve: 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
```

  Preuve: 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
```

  Preuve: 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
```

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

## Faits du paquet

- **Clé du paquet:** brew:nvi
- **Gestionnaire de paquets:** Homebrew
- **Version:** 1.81.6
- **Résumé source:** 44BSD re-implementation of vi
- **Page d'accueil:** <https://repo.or.cz/nvi.git>
- **Dernière mise à jour:** 2026-06-28T21:02:37+01:00
- **Généré:** 2026-08-03T19:37:03+00:00

## exécutables

- nex (alias)
- nvi (alias)
- nview (alias)

## Comportement d'installation

- Bouteille: non disponible

## Version et fraîcheur

- page générée: 2026-08-03
- version du gestionnaire: 1.81.6
## Historique du projet et usages

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.

### Historique du projet

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.

### Historique d'adoption

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.

### Modes d'utilisation

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.

### Pourquoi les passionnés de paquets s'y intéressent

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.

### Chronologie

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

### Sources

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


## Notes de sécurité

narrow executable package without higher-risk signals.

- **Risque Geiger:** vert / faible
- narrow executable package without higher-risk signals

## Autres enregistrements de gestionnaires de paquets

- 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-19.fc45: 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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | A lexer generator for Go that is similar to Lex/Flex | http://www-cs-students.stanford.edu/~blynn/nex/


## Combined YAML source

View the package source record on GitHub. [combined/nvi.yml](https://github.com/mxcl/pkgdb/blob/main/combined/nvi.yml)


## Sources

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