Install Neovim on Ubuntu

This article will cover how to install the latest builds of Neovim on Ubuntu. We will be using the unstable PPA repository since it gets updated more often, this means we get new features and bug fixes faster. If you need extreme stability in your environment, I recommend going with the stable Neovim PPA just to have the extra layer of certainty that things are stable.

Open Terminal. The keyboard shortcut for this is Ctrl+ Alt + T or go into the app launcher and search for Terminal and open it.

Enter the following command below.

sudo add-apt-repository ppa:neovim-ppa/unstable

If you wish to install the stable version of the PPA. Enter the command below in the terminal, the rest of the procedure is the same.

sudo add-apt-repository ppa:neovim-ppa/stable

The command above will ask you to confirm you want to add the unstable/stable PPA to the local package database. Press enter. This should update the local package database, but if it does not, then you will need to do it manually. We can do this by entering the command below.

sudo apt update

Time to do the thing. The command below will install Neovim.

sudo apt install neovim

If you want to uninstall Neovim simply run.

sudo apt remove neovim

That’s it for this article. If you have any questions leave a comment below.