How To Install Nmcli In Debian, Ubuntu, Alpine, Arch, Kali, Fedora And Raspbian?

How To Install Nmcli In Debian, Ubuntu, Alpine, Arch, Kali, Fedora And Raspbian?

nmcli

A command line tool for controlling NetworkManager.

Maintainer: Utopia Maintenance Team



Section: net

Install nmcli

  • Debian apt-get install network-manager Click to copy
  • Ubuntu apt-get install network-manager Click to copy
  • Alpine OS apk add networkmanager Click to copy
  • Arch Linux pacman -S networkmanager Click to copy
  • Kali Linux apt-get install network-manager Click to copy
  • Fedora dnf install NetworkManager-1 Click to copy
  • Raspbian apt-get install network-manager Click to copy

A command line tool for controlling NetworkManager.

How to use nmcli?

Below are few example commands for nmcli that you can use in the terminal.

List all NetworkManager connections (shows name, uuid, type and device):
nmcli connectionClick to copy
Print the available Wi-Fi access points:
nmcli device wifiClick to copy
Connect to the Wi-Fi network with a specified name and password:
nmcli device wifi connect name passwordClick to copy
Activate a connection by specifying an uuid:
nmcli connection up uuid uuidClick to copy
Deactivate a connection:
nmcli connection down uuid uuidClick to copy
Print statuses of network interfaces:
nmcli device statusClick to copy
To install the latest version of nmcli in your favorite operating system just copy the nmcli installation command from above and paste it into terminal. It will download and install the latest version of nmcli 2026 package in your OS.