NVIM stopped making Debian packages a while back, so here is a short note on how to do this yourself. Had a hard time finding this info, hence reproduced here. Assuming you’ve got the source.

  1. make CMAKE_BUILD_TYPE=Release
  2. cd build && cpack -G DEB
  3. sudo dpkg -i nvim-linux64.deb

… and of course you then find the authoritative text.

If you use RelWithDebInfo an ever growing log file will be created in ~/.local/state/nvim/log.

Potentially you’ll need:

  1. rm -rf .deps/* if you get an CMake error.