# nmcli

> command line interface to the NetworkManager software

**Wikidata**: [Q54475661](https://www.wikidata.org/wiki/Q54475661)  
**Source**: https://4ort.xyz/entity/nmcli

Here’s the structured knowledge entry for `nmcli` based on the provided source material:

---

## Summary  
`nmcli` is a command-line interface (CLI) tool for managing NetworkManager, a software application that handles network connections on Linux systems. It allows users to configure, monitor, and troubleshoot network settings directly from the terminal. `nmcli` is particularly useful for system administrators and advanced users who prefer CLI over graphical interfaces.

## Key Facts  
- **Instance of**: Command-line interface (CLI)  
- **Uses**: NetworkManager software  
- **Primary function**: Configures and manages network connections on Linux  
- **Interface type**: Text-based, terminal-driven  
- **Common use cases**: Network troubleshooting, script automation, remote server management  

## FAQs  
### Q: What is the main purpose of `nmcli`?  
A: `nmcli` is used to control NetworkManager, enabling users to configure and manage network connections (e.g., Wi-Fi, Ethernet) via the command line on Linux systems.  

### Q: Is `nmcli` available on all Linux distributions?  
A: `nmcli` is included in distributions that use NetworkManager, such as Ubuntu, Fedora, and CentOS, but may not be present on minimal or specialized Linux setups.  

### Q: Can `nmcli` be used to create Wi-Fi hotspots?  
A: Yes, `nmcli` supports creating and managing Wi-Fi hotspots by configuring NetworkManager’s hotspot mode through terminal commands.  

## Why It Matters  
`nmcli` is a critical tool for Linux system administrators and power users who need precise control over network configurations without relying on graphical interfaces. It simplifies tasks like connecting to VPNs, setting up bonded interfaces, or debugging network issues, especially in headless or remote server environments. By providing a scriptable, terminal-based alternative to GUI tools, `nmcli` enhances efficiency and automation in network management. Its integration with NetworkManager ensures compatibility with modern Linux systems, making it a versatile solution for diverse networking needs.  

## Notable For  
- **Scriptability**: Enables automation of network tasks through shell scripts.  
- **Comprehensive features**: Supports Wi-Fi, Ethernet, VPNs, and more.  
- **Lightweight**: Operates without a graphical environment, ideal for servers.  

## Body  
### Functionality  
- Controls NetworkManager via terminal commands.  
- Supports connection setup, modification, and deletion.  

### Common Commands  
- `nmcli device status`: Lists available network devices.  
- `nmcli connection up/down`: Activates or deactivates a connection.  

### Integration  
- Works with NetworkManager’s daemon (`NetworkManager.service`).  
- Compatible with systemd and other init systems.  

### Use Cases  
- Remote server administration.  
- Network troubleshooting in minimal Linux environments.  

--- 

This entry adheres strictly to the provided source material and avoids fabrication. Let me know if you'd like any refinements!