I had Neovim v0.4 installed via
apt (on Ubuntu).
But then I saw there is a newer version and tried to install it following instructions here.
Now if I use
~/.config/nvim folder, the newest version is run, but if I use
old version will run.
And if I try to update to newest using
apt-get install neovim, I'll get
neovim is already the newest version (0.4.4-1).
Why is this happening and how do I open the latest version directly?
hash -rin your shell, or starting a new one. Then check
which -a nvim/
command -v nvim. (Basically: shells cache paths. But this may not be the problem if the installation didn't put links or binaries in the expected places.)