Debian/Ubuntu: install both neovim and vim

I’ve installed both neovim and vim via apt in ubuntu. Now I can’t find the vim binary - I’ve tried running vim and /usr/bin/vim and it always starts neovim instead. How can I start vim?

Do you have an alias for “vim” to start neovim in your shell’s config?

I do, but as I said the same thing happens when I run /usr/bin/vim. When I do file /usr/bin/vim, I get:

/usr/bin/vim: symbolic link to /etc/alternatives/vim

What happens when you run “vi”?

It still launches neovim then!
I did ls -l /usr/bin/ | grep vi now and saw that there were two binaries I wasn’t familiar with: vim.basic and vim.tiny.

-rwxr-xr-x 1 root root     2906824 Feb  1 10:16 vim.basic*
-rwxr-xr-x 1 root root     1349848 Feb  1 10:16 vim.tiny*

They both seem to launch regular vim! Althogh the size of the binaries is rather different. I checked vim.basic --version and vim.tiny --version and it showed that they habe different amounts of features enabled. So this solved it for me. I would still be interested to know how I could’ve found this in a systematic way, rather than just finding it by accident.