1.6. Network Configuration Using NetworkManager's CLI (nmcli)

The NetworkManager command-line tool, nmcli, provides a command line way to configure networking by controlling NetworkManager. It is installed, along with NetworkManager, by default. If required, for details on how to verify that NetworkManager is running, see Section 1.4.1, “The NetworkManager Daemon”.
Examples of using the nmcli tool for each task will be included where possible, before explaining the use of other command-line methods and graphical user interfaces. See Section 2.1.6, “Using the NetworkManager Command Line Tool, nmcli for an introduction to nmcli, and check the man nmcli-examples(7) page for useful examples. To find out which properties are available for the nmcli c add and nmcli c modify commands, use the man nm-settings(5) page.