Easiest way to update Neovim on Ubuntu

Leonardo Lins
1 min readSep 24, 2020

I’ve had problems related to my old Neovim version, and I figured out a simple way to update it without losing my configurations files.

We are going to use the apt package manager.

First of all, you need to remove your current version. Make sure you don’t use the -purge parameter to the command:

$ sudo apt remove neovim -y

Now do you can update normally with the commands:

$ sudo add-apt-repository ppa:neovim-ppa/stable
$ sudo apt-get update
$ sudo apt-get install neovim

To check it:

$ nvim

nvim lts working

My Ubuntu’s version: 18.04.5 LTS

--

--