CLI
A tool you use by typing commands in the terminal, rather than through windows and buttons.
GUI
- Windows and buttons
- Easy to discover
- Hard to automate
CLI
- Typed commands
- Fast once learned
- Easy for agents and scripts
What it is
A CLI (command-line interface) is a program designed to be run from the terminal. Instead of opening an app and clicking around, you type its name followed by what you want it to do: git commit, npm install, stripe login.
Many services offer both a website and a CLI. The website is friendlier; the CLI is faster, scriptable, and easy for a coding agent to drive, which is why agents prefer it.
The opposite is a GUI (graphical user interface): anything with windows, icons, and buttons.
How to ask for it
“Can you do the Stripe setup thing for me without me clicking through the website?”
Asking for the CLI tells the agent to do the setup itself with typed commands, instead of writing you instructions for a website.
You've seen this in
- ·git, the version control tool
- Jnpm, the JavaScript package manager
- TThe Stripe, Vercel, and GitHub CLIs
- MHomebrew on a Mac