nmtui – Text User Interface for controlling NetworkManager

nmtui – Text User Interface for controlling NetworkManager

This is a guide to nmtui for CentOS 7 (RHEL 7)

nmtui  stands for: Network Manager Text User Interface and it is used for controlling NetworkManager

These are the commands:
nmtui [ edit | connect | hostname ] [ … ]

When you type the command nmtui you will be asked what you want to do: Edit A connection, Activate a connection or Set system name

nmtui menu
nmtui menu

nmtui-edit [ connection-id | connection-name ]

nmtui-connect [ connection-name | connection-uuid | device-name | Wi-Fi-SSID ]


nmtui is a curses‐based TUI application for interacting with NetworkManager.

When starting nmtui, the user is prompted to choose the activity to perform unless it was specified as the first argument.

The supported activities are:

edit: show a connection editor that supports adding, modifying, viewing and deleting connections. It provides similar functionality as nm-connection-editor.

connect: show a list of available connections, with the option to activate or deactivate them. It provides similar functionality as nm-applet.

hostname: set the system hostname.

Corresponding to above activities, nmtui also comes with binaries named nmtui-edit, nmtui-connect, and nmtui-hostname to skip the selection of the activities.

SEE ALSO man pages:

man 8 NetworkManager

man nmcli

man nm-applet

man nm-connection-editor


I am a Senior System Administrator that work daily with Virtualization,Xenserver, Linux, IT automation, Ansible,Windows, Active Directory, Exchange and a lot more. Here you will find tips and trix from early junior, middle junior and senior to unique information of the topics I mentioned earlier. If you need help with something do not hesitate to contact me I will gladly help.

Tagged with: , , , , , ,