Executable Link to heading

  • Download the NeoVim tar file. Extract and copy folder into /opt/
sudo mv nvim-folder /opt
  • Create symbolic link/symlink to /usr/local/bin
sudo ln -s /opt/nvim-some-version/nvim /usr/local/bin

AppImages Link to heading

  • Download NeoVim AppImage from GitHub release page.

  • Rename nvim.appimage to nvim

mv nvim.appimage nvim
  • Set the permission:
chmod +x nvim
  • Install fuse2 library if it is required to run the appimage
sudo apt install libfuse2
  • Copy from download folder to /usr/local/bin path

/usr/bin is used for apps managed by the distribution’s package manager, so it’s not recommended to copy there.

sudo mv nvim /usr/local/bin

Optional Link to heading

Font Installation Link to heading

Download nerdfonts. Just extract the tar file and throw the whole folder into: /usr/share/fonts

sudo mv some-path/foldername /usr/share/fonts

Set NeoVim as the default editor Link to heading

Add the this line: export EDITOR="nvim" to the .bashrc file:

Alias v to nvim Link to heading

alias v="nvim"

Install AstroNvim Link to heading

To keep nvim configurations while using sudo: Link to heading

sudo -E -s