← All design terms

Command-Line Interface (CLI)

Definition

A Command-Line Interface (CLI) is a text-based user interface used to interact with a computer or software application by typing commands. Unlike graphical user interfaces (GUIs), which use visual elements like icons and buttons, CLIs require users to input specific text commands. Although less visually intuitive, CLIs provide powerful and efficient control, especially for advanced users and technical tasks.

Why it matters

For developer-focused products, a well-designed CLI is often a stronger selling point than the GUI. Engineers prefer CLI because it's faster, scriptable, and composable with other tools — and they'll choose a product with a great CLI over one with a prettier UI. If your product targets developers, investing in CLI UX signals that you understand your audience.

Real-world example

Vercel's CLI ('vercel deploy') is so fast and frictionless that many engineers deploy exclusively through it, never opening the dashboard. The CLI experience is a core reason developers choose Vercel over competing hosting platforms.

Confused about
Command-Line Interface (CLI)
?
Design is fun, but it's not easy.
Get help from a senior designer.
Start your project with us!
Start a project