nmtui stands for NetworkManager Text User Interface. It is a command-line utility that provides a text interface to configure networking by controlling NetworkManager, which can be used to change the hostname among other things.