Installing Neovim on Chromebook

zerdaris

Zerdaris

Posted on December 26, 2021

Installing Neovim on Chromebook

Hello!

This is my first blog post! I didn't know which subject to talk about and wanted to write small for a start.

I wanted to give a try of neovim on my Chromebook, but there was no binary compiled for it, and binaries from Debian are too old.

If you don't want to read the install from source documentation, follow along!

I'm going to assume that you already have the Linux VM setup.

Install prerequisites

Open the terminal and run the following command to install the build tools required.

sudo apt-get install ninja-build gettext libtool libtool-bin autoconf automake cmake g++ pkg-config unzip curl doxygen

Install Neovim

Go to the neovim releases page to download the latest version. At the time of writing, the latest stable is v0.6.0, so download, extract it and go in the folder like following:

wget https://github.com/neovim/neovim/archive/refs/tags/v0.6.0.tar.gz
tar xvf v0.6.0.tar.gz
cd neovim-0.6.0/
Enter fullscreen mode Exit fullscreen mode

I don't like to install packages system-wide so I compiled with a destination to ~/tools/neovim.

make CMAKE_EXTRA_FLAGS="-DCMAKE_INSTALL_PREFIX=$HOME/tools/neovim"
make install
Enter fullscreen mode Exit fullscreen mode

The only thing left to do is to add the bin folder to your path. Add the following at the end of your ~/.bashrc:

export PATH="$HOME/tools/neovim/bin:$PATH"
Enter fullscreen mode Exit fullscreen mode

--
Happy Neovim-ing! :)

Next, I'm interested in configuring neovim with vue3!

💖 💪 🙅 🚩
zerdaris
Zerdaris

Posted on December 26, 2021

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related

Installing Neovim on Chromebook
chromebook Installing Neovim on Chromebook

December 26, 2021