How to install Neovim from source on Ubuntu 20.04 LTS

Neovim logo

Why from source?

  • Access to the latest features of Neovim
  • Install Neovim in the location you wish

Installation

sudo apt-get install ninja-build \
gettext libtool libtool-bin \
autoconf automake cmake g++ \
pkg-config unzip
git clone https://github.com/neovim/neovim.git
git checkout stable
make CMAKE_BUILD_TYPE=Release \
CMAKE_INSTALL_PREFIX=<NEOVIM_LOCATION> install
export PATH=”<NEOVIM_LOCATION>/bin:$PATH”
nvim awesome-file.txt
Neovim’s :checkhealth partial output

If anything went wrong

rm -rf build .deps # the command 'make distclean' performs the same

Uninstall

sudo rm -rf <NEOVIM_LOCATION>

Sources

--

--

--

Undergraduate student in Robotics and Digital Systems at ITESM. 💙 Math, science, and robotics. Lifelong learner.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Redis vs. Memcached: In-Memory Data Storage Systems

6 Vital Things to Know About Serverless Tech

Four More Techniques for Faster Unity 3D Development

My first hackathon (as a dev)

Getting Functional interfaces , Lambdas and streams … A short and quick guide.

How to Recognize a Garbage Programming Job Posting

Joke tweet about developer job postings with unrealistic expectations.

Export JMX metrics from Confluent KSQL to Datadog

What’s App + Web?

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Carlos Hurtado

Carlos Hurtado

Undergraduate student in Robotics and Digital Systems at ITESM. 💙 Math, science, and robotics. Lifelong learner.

More from Medium

How to Think Like a Programmer — Key Takeaways

Docker 101: How to install it on Ubuntu

Build Your Own Ubuntu-Linux Distribution