Install Neovim Text Editor on Ubuntu:
You can install Neovim via AppImage, Flatpak and Ubuntu package manager on Ubuntu. In this article we will see one by one.
Install Neovim via Appimage:
Go to the Neovim download page and download the latest version of Neovim in Appimage file format and save it on your Downloads folder.. Here the downloaded file name is “nvim.appimage“. Right click on the downloaded .AppImage file and select Properties. Now enable Executable as Program or in the older Ubuntu versions go to the Permissions tab and check the Allow executing files as program option.
Now close that window and right click that file again and select Run.
You can also do the same above in command-line. Open your terminal and run below command one by one. Here “nvim.appimage” is the downloaded file name and download path is Downloads folder.
sudo chmod +x ~ nvim.appimage
For complete Neovim help click here
Install Neovim via Flatpak
First you need to install and setup flatpak on your your Ubuntu system to install and use flatpak apps. follow the below link to install the flatpak on Ubuntu.
After the installation of flatpak in you Ubuntu, restart your system. Now open your terminal app (Ctrl+Atl+T) and run the below command
flatpak install flathub io.neovim.nvim
During the installation press y and enter when it asked to confirm the installation. It will install the latest version Neovim Text Editor. you can run Neovim Text Editor flatpak by running the below command.
flatpak run io.neovim.nvim
And you can also uninstall it via below command.
sudo flatpak uninstall io.neovim.nvim
Install Neovim via Ubuntu package manager:
Open your terminal app (ctrl+Alt+T) and run the below command.
sudo apt update
Then run the below command to install neovim on Ubuntu.
sudo apt install neovim
For the complete integration click here.