Everything K-culture — comebacks to K-beauty, straight to your inboxGet it in your inbox

METAL MEDIA

K-Culture GlossaryCWords from the people who build

CLI

A way to operate a computer purely by typing text. AI tools like "Claude Code CLI" are now bringing this old-school approach back into the spotlight.

In plain words

A CLI (Command Line Interface) is a way to make a computer do things by typing text, with no mouse involved. Think of a restaurant: instead of pointing at pictures on a menu, you speak your order precisely to the kitchen. It's harder at first because you have to memorize the right words, but once you know them, you can place long, precise orders in one go, like "two more of that, one with less spice."

In fact, the CLI was the computer's original face. Before screens filled up with buttons and icons (GUI), everyone used computers this way, and it later became an outdated method for ordinary users. But in the AI era, this old approach is making a comeback as the star of the show. Claude Code, OpenAI's Codex, Gemini CLI — the AI coding tools making headlines these days are deliberately built as CLIs.

The reason is simple: for AI, reading and writing text is far easier and more accurate than hunting for buttons on a screen and clicking them. When a person gives an instruction in plain language, the AI types the actual commands behind the scenes. Underneath most stories about "just tell your AI assistant what you want and the computer does it," you'll usually find a CLI at work.

How it shows up in the news

"Anthropic's Claude Code is a CLI tool that runs in the terminal" — meaning it's not an app with a screen and buttons, but a tool you work with by exchanging text in a black window.

Try it yourself

  1. On a Mac, search for "Terminal"; on Windows, search for "Command Prompt," and open it. That black window with a blinking cursor — that's the face of the CLI.
  2. Type date and press Enter. Today's date comes back as text. You just made the computer do something without touching a single button.
  3. Ask a chatbot: "Give me a command to find large files on my computer." The AI writes the command, and you just paste it in — this combination is exactly why the CLI is making a comeback today.

GUI vs CLI: What's the Difference

Type words to command, Point and click to command

Since both are ways to make the same computer do the same task, it's easy to mistake this for a question of 'which is better.' It's not about superiority but about fit for purpose. And in the AI era, the trend has flipped in a confusing way — the latest AI tools are deliberately shipping with the old-school CLI instead of the user-friendly GUI.

AspectCLIGUI
How you operate itYou type out fixed commands as textYou visually find and click buttons or icons
Learning curveYou need to know what to type before you can even startEasy — just click what you see
What it's good forRepeating the same task a hundred times, or attaching long chains of conditionsOccasional tasks, or tasks you need to visually verify
Does it leave a recordThe typed commands remain as-is, so you can reuse them or hand them off to someone elseNo record of what you clicked
Compatibility with AIAI only needs to read and write, which is fast and accurateAI has to look at the screen and click, which is slow and error-prone
AnalogyPlacing a verbal order to the kitchenA picture menu

Rule of thumbIf the choices are drawn on screen, it's a GUI; if you have to spell out in words what you want, it's a CLI.

CLI vs. Terminal: what's the difference

The way work gets done, The window where it happens

Both look the same — black window, typed text going back and forth — so people use the words interchangeably. But one is a window, and the other is a tool that runs inside it. That's why "I opened the terminal but Claude Code isn't there" makes sense: the window is already there by default, but the tool has to be installed separately.

AspectCLITerminal
What it isA way of giving instructions through typed commands, and the tools that do soThe window that runs those tools and displays the results
In numbersHundreds exist. The more you install, the more you haveUsually just one kind is used — Terminal on Mac, PowerShell on Windows
ExamplesClaude Code, Codex, Gemini CLI, gitMac Terminal, iTerm, Windows Terminal
If you swap itInstalling a different tool changes what you can doSwitching to a different window changes nothing about what you can do
AnalogyThe task handled at the counterThe counter itself where that task is handled

Rule of thumbIf it has to be installed, it's a CLI tool. If it comes with the computer by default, it's a terminal.

See also

Stories using this term

No story has used this term yet. New ones attach here automatically.

Browse every entry