A command line interface (CLI) is a text-based user interface that allows users to interact with a computer or software program by typing commands at a prompt. It operates in a console or terminal environment, where users enter specific commands to execute tasks, navigate the file system, and manage processes. Unlike graphical user interfaces (GUIs), CLIs do not rely on visual icons or buttons but instead use typed instructions, making them powerful tools for users who need precise control over their computing environment, such as system administrators, developers, and IT professionals.
Examples include MS-DOS Command Prompt, Windows PowerShell, MacOS Terminal, and Linux Terminal.