nmcli

Manage the network configuration using NetworkManager. More information: <https://networkmanager.dev/docs/api/latest/nmcli.html>.

Install

All systems
curl cmd.cat/nmcli.sh
Debian Debian
apt-get install network-manager
Ubuntu
apt-get install network-manager
Alpine
apk add networkmanager
Arch Arch Linux
pacman -S networkmanager
image/svg+xml Kali Linux
apt-get install network-manager
Fedora
dnf install NetworkManager-1
Windows (WSL2)
sudo apt-get update sudo apt-get install network-manager
Raspbian
apt-get install network-manager
Docker
docker run cmd.cat/nmcli nmcli powered by Commando

Manage the network configuration using NetworkManager. More information: <https://networkmanager.dev/docs/api/latest/nmcli.html>.

  • View documentation for running `nmcli` as a NetworkManager secret/polkit agent:
    tldr nmcli agent
  • View documentation for managing network connections:
    tldr nmcli connection
  • View documentation for managing network interfaces and establishing new Wi-Fi connections:
    tldr nmcli device
  • View documentation for managing general settings of NetworkManager:
    tldr nmcli general
  • View documentation for NetworkManager's activity monitor:
    tldr nmcli monitor
  • View documentation for enabling/disabling and checking the status of networking:
    tldr nmcli networking
  • View documentation for managing radio switches:
    tldr nmcli radio

© tl;dr; authors and contributors