I learned that Debian has an "alternatives" system. Is like a symlinks manager but for commands that are interchangeable in some way.
For example, I installed neovim and without doing anything I already have the commands vi and vim pointing to a neovim symlink. Nodejs also has one, it's called js, I can run a script like this js ./path-to-script.js. To see what commands have "alternatives" check the /etc/alternatives folder.
I learned that Debian has an "alternatives" system. Is like a symlinks manager but for commands that are interchangeable in some way.
For example, I installed neovim and without doing anything I already have the commands
viandvimpointing to a neovim symlink. Nodejs also has one, it's calledjs, I can run a script like thisjs ./path-to-script.js. To see what commands have "alternatives" check the/etc/alternativesfolder.And for more details read the manpage.
Noice!
💘👻🌷🙊