update-alternatives manages symlink groups where several programs compete, like the editor group pointing /etc/alternatives/editor at one binary. The --set form pins the choice non-interactively, ideal for scripts and image builds. List the group's candidates with --list first.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.