CLI (Command-Line Interface)
Pronunciation: SEE-el-eye
Also written as: CLI — Command-Line Interface
A text-based interface through which users interact with software by typing commands into a terminal or shell.
Full Definition
A CLI accepts typed instructions and returns text output, contrasting with graphical user interfaces (GUIs) that rely on visual controls. In developer-tools content, 'CLI' is standard on first and subsequent references for technical audiences; expand in end-user or non-technical copy. Commands shown in CLI instructions should be formatted in monospace or code style (e.g., `npm install`). Editors should verify that command syntax, flags, and arguments are rendered consistently throughout a document. 'CLI tool' and 'command-line tool' are acceptable synonyms in prose.
Usage
Usage note: Always render CLI commands in a distinct code style. Do not capitalise 'command-line interface' unless at the start of a sentence or in a heading.
In Context
- "Run the following CLI command to initialise your project: `devtool init --name my-app`." — Quickstart guide
- "The style guide requires all CLI flags to be formatted in monospace and preceded by double hyphens." — Editorial style note