-
Notifications
You must be signed in to change notification settings - Fork 0
Install From Pre‐built Assets
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
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.
See docs README.