neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

commit 5c36701228e166f8aa89983044404ff322fe481f
parent 2f6d5588f3a8535601678c576ee9816fce69abeb
Author: Robert O'Shea <PurityLake@users.noreply.github.com>
Date:   Thu,  8 Feb 2024 14:55:53 +0000

docs(install): add more Linux install instructions #27350


Diffstat:
MINSTALL.md | 25++++++++++++++++++++++++-
1 file changed, 24 insertions(+), 1 deletion(-)

diff --git a/INSTALL.md b/INSTALL.md @@ -93,6 +93,20 @@ The [Releases](https://github.com/neovim/neovim/releases) page provides pre-buil ## Linux +### Pre-built archives + +The [Releases](https://github.com/neovim/neovim/releases) page provides pre-built binaries for Linux systems. + +```sh +curl -LO https://github.com/neovim/neovim/releases/latest/download/nvim-linux64.tar.gz +sudo rm -rf /opt/nvim +sudo tar -C /opt -xzf nvim-linux64.tar.gz +``` + +After this step add this to `~/.bashrc`: + + export PATH="$PATH:/opt/nvim-linux64/bin" + ### AppImage ("universal" Linux package) The [Releases](https://github.com/neovim/neovim/releases) page provides an [AppImage](https://appimage.org) that runs on most Linux systems. No installation is needed, just download `nvim.appimage` and run it. (It might not work if your Linux distribution is more than 4 years old.) @@ -101,6 +115,15 @@ The [Releases](https://github.com/neovim/neovim/releases) page provides an [AppI chmod u+x nvim.appimage ./nvim.appimage +To expose nvim globally: + + mkdir -p /opt/nvim + mv nvim.appimage /opt/nvim/nvim + +And the following line to `~/.bashrc`: + + export PATH="$PATH:/opt/nvim/" + If the `./nvim.appimage` command fails, try: ```sh ./nvim.appimage --appimage-extract @@ -111,7 +134,7 @@ sudo mv squashfs-root / sudo ln -s /squashfs-root/AppRun /usr/bin/nvim nvim ``` - + ### Arch Linux Neovim can be installed from the community repository: