LinuxCommandLibrary

nmtui

Text User Interface for controlling NetworkManager

TLDR

Open the user interface

$ nmtui
copy


Show a list of available connections, with the option to activate or deactivate them
$ nmtui connect
copy


Connect to a given network
$ nmtui connect [name|uuid|device|SSID]
copy


Edit/Add/Delete a given network
$ nmtui edit [name|id]
copy


Set the system hostname
$ nmtui hostname
copy

SYNOPSIS

nmtui-edit | nmtui edit {name | id}

nmtui-connect | nmtui connect {name | uuid | device | SSID}

nmtui-hostname | nmtui hostname

DESCRIPTION

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

nmcli(1), nm-applet(1), nm-connection-editor(1), NetworkManager(8).

Copied to clipboard