How to install Neovim on Ubuntu – Vim based Text Editor

Neovim is a free and open source vim based text editor for Linux, Windows, MacOS and BSD. It supports more Modern GUIs. using this you can integrate Neovim to all other latest text editors. Another important feature is you can access its APIs from any language including C/C++, C#, Clojure, D, Elixir, Go, Haskell, Java, JavaScript/Node.js, Julia, Lisp, Lua, Perl, Python, Racket, Ruby and Rust. So it will allow develop more extension to extent its features. It also support most Vim plugins by default. It comes with Embedded and script-able terminal emulator. You can shared its data with multiple editor instances.

Neovim

Download NeoVim

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.

Nvim

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.

cd Downloads
sudo chmod +x ~ nvim.appimage
sudo ./nvim.appimage

For complete Neovim help click here

Also Read:  Diff-so-fancy Command line File Comparison Application

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.

How to install 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.

If you liked this article, please subscribe to our YouTube Channel. You can also stay connected with us on X (Twitter) and Facebook.



Leave a Reply