Search notes:

Shell command: nmcli

Connect to a new WiFi Hotspot

Show SSIDs
nmcli d wifi list
Connect to the WiFi hotspot/SSID. The following command prompts the user to enter the password in a dialog:
nmcli d wifi connect <ssid>
The password can also be stated non-interactively (note the keyword password):
nmcli d wifi connect <ssid> password <password>

Find available devices

nmcli device status
device and d are synonymous.

Installing in Debian/APT

nmcli is contained in the package network-manager.

See also

Shell commands

Index