aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert O'Shea <PurityLake@users.noreply.github.com>2024-02-08 14:55:53 +0000
committerGitHub <noreply@github.com>2024-02-08 06:55:53 -0800
commit5c36701228e166f8aa89983044404ff322fe481f (patch)
tree18ef23015c43a3a8e47e40e2e9dfe2fab6798fd6
parent2f6d5588f3a8535601678c576ee9816fce69abeb (diff)
downloadrneovim-5c36701228e166f8aa89983044404ff322fe481f.tar.gz
rneovim-5c36701228e166f8aa89983044404ff322fe481f.tar.bz2
rneovim-5c36701228e166f8aa89983044404ff322fe481f.zip
docs(install): add more Linux install instructions #27350
-rw-r--r--INSTALL.md25
1 files changed, 24 insertions, 1 deletions
diff --git a/INSTALL.md b/INSTALL.md
index 8ca3ab7a13..9bba1f0a8c 100644
--- 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: