How to install Neovim on Ubuntu?

How can I install Neovim on Ubuntu? Should I compile it from source?

The installation steps are a little bit blurry for me...

5 Answers

From the universe repo

sudo apt install neovim

From source

  1. Download the master branch from Github

  2. Install the dependencies

    sudo apt-get install libtool autoconf automake cmake libncurses5-dev g++
  3. Go to the root of the project and build

    make cmake
    make test
  4. Run nvim in /neovim-master/build/bin

That works for me.

From the PPA repository

  1. Add the repository

     $ sudo add-apt-repository ppa:neovim-ppa/unstable
  2. Update and install

     $ sudo apt-get update $ sudo apt-get install neovim
3

According to official Wiki:

Neovim has been added to a Personal Package Archive which allows you to install it using apt-get on Ubuntu 12.04 and later

Run the following commands:

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

Prerequisites for the Python modules:

sudo apt-get install python-dev python-pip python3-dev python3-pip
2

Now you can simply do:

sudo apt install neovim
1
curl -LO
chmod u+x nvim.appimage
./nvim.appimage

from

It just downloads standalone appimage. u can place it in path if you want to excute it from anywhere. Works on ALL DISTRIBUTIONS

I followed the;

git clone **;
cd neovim;
make cmake
make test

ended up with nvim that worked, but isn't integrated with the system. I might leave him a few weeks/months to get it into some sort of state. But it does work.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like