Skip to content

Install From Pre‐built Assets

Matt Carlotta edited this page Sep 18, 2024 · 29 revisions

According to your operating system and CPU architecture, download one of the pre-built assets from the releases page.

Open a terminal to where the downloaded asset resides and unzip the asset. Replace <asset> with the downloaded asset name and replace </destination/directory/> with an unzip destination:

tar –xzf <asset>.tar.gz -C </destination/directory/>

You'll find 2 directories within the unzipped asset:

  • bin
  • man

Installing Binary

You'll want to install the nvi binary found within the bin directory to one of the paths recognized by the shell $PATH

echo $PATH

You should see an output of paths separated by colons (:), for example:

/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin

Typically, you'll want to install the binary in /usr/local/bin; however, if you don't have that path on your system, refer to The binary directory doesn't exist steps for more information.

Then, you'll want to copy the binary to a system binary path:

sudo cp ./bin/nvi /usr/local/bin

To ensure the binary is installed, type:

which nvi
# /usr/local/bin/nvi

Having trouble? See the Troubleshooting page for guidance.

Install Man Documentation

See docs README.

Clone this wiki locally