nmtui-hostname

This command is an alias of nmtui hostname.

tldr nmtui