When some plugin wants the latest version of Neovim and your operating system repository doesn’t have it yet, the solution is to compile it from scratch or download an AppImage when available.
Let’s see that this task is very simple and in this example we will show in Ubuntu 22.04 LTS and you can adapt to any other system, using search from your package manager.
First of all remove Neovim from your system:
Now install the necessary dependencies:
In the case of Ubuntu, when the latest version is already installed, it doesn’t reinstall unless you want to indicate the parameter for it.
Now just clone from repository
NOTE: it is necessary first to use the command
make CMAKE_BUILD_TYPE=RelWithDebInfo
so that there is no lag when exiting Neovim, because in this case, we will use CMake .
See here the path where everything is installed.
If you have trouble reading the lfs
of Lua install with LuaRocks:
Sometimes the Neovim development team makes an AppImage version available in releases, if not, of course, there will be ready-made binaries here, if you prefer .