NeoVim Text Editor

Did you know Vim started on the Amiga?

Building from source

This is the best way to get the latest version that doesn't involve AppImages. I love AppImages for desktop apps, but not for shell stuff like this.

You'll need to do this if you're using nvim-treesitter and it's complaining every time you open a file. You probably have a version of NeoVim older than 0.8.

Debian Bookworm 12

Tweaked from https://tylercipriani.com/blog/2016/04/01/neovim/ and following instructions from https://github.com/neovim/neovim/wiki/Building-Neovim:

snippet.bash
git clone https://github.com/neovim/neovim.git
cd neovim
sudo apt install libtool libtool-bin autoconf automake cmake g++ pkg-config unzip libmsgpack-dev libuv1-dev libluajit-5.1-de gettext
git checkout stable
make CMAKE_BUILD_TYPE=RelWithDebInfo
cd build
sudo apt remove neovim-runtime # get rid of existing nvim
sudo apt autoremove # clean out the rest of nvim junk
cpack -G DEB && sudo dpkg -i nvim-linux64.deb
sudo update-alternatives --install /usr/bin/vim vim /usr/bin/nvim 1