parancssor (CLI)
in English: command line
The command line is a text interface where you tell the computer what to do with typed commands instead of clicking.
In plain terms
Most programs are managed with icons, buttons, and menus. The command line is its text-based counterpart: a window with a blinking cursor where you type a command, press Enter, and the computer responds in text.
It is like a restaurant. The graphical interface is the menu: you can only order what is on it. In the command line, you speak directly to the chef, so you can ask for anything the kitchen can prepare, but you must know what it is called.
It has survived to this day because it is fast, accurate and repeatable. A typed command can be saved, forwarded and run the same way a thousand times, whereas a sequence of clicks has to be done all over again each time.
AI has brought it back into the spotlight: many coding agents work in the command line or run commands in the background. For an agent, text commands are a natural environment, since it writes and reads text, without needing to look at a screen or move a mouse.
How it works
- You open a window called a terminal, where a short signal (the prompt) indicates that the machine is waiting for your command.
- You type a command: the program name comes first, followed by what it should work on and what settings to use (these are called switches).
- After pressing Enter, the command interpreter (the shell) reads the line, finds the named program, and starts it.
- The program runs, outputs the result or error message as text in the same window, and the prompt reappears.
- Commands can be chained and saved to a file, so a long workflow can be started with a single line without human supervision. An agent does the same when running commands for you.
An everyday example
You try a coding agent, and the installation guide starts with: 'open the terminal and type this line.' Or your internet service provider's customer support asks you to type the ping command and read out what the machine responds. In both cases, you are using the command line.
Who is affected
A common misconception
Limits and risks
- There is no undo button: a poorly written delete command can permanently erase files without asking.
- Never paste a command you do not understand, as a line from an unknown website or email could install malicious software on your computer.
- If you grant an agent permission to run commands, it works in your name and with your permissions, so read what it intends to execute before approving.
- Commands vary by system: what works on Mac or Linux often exists under a different name or format on Windows.
Similar, but not the same
- terminal – The terminal is the window where you type, while the command line is the text interface you use within that window.
- command interpreter (shell) – The shell is the program that interprets and executes typed commands, such as Bash or PowerShell.
- prompt (AI instruction) – A command-line command has a fixed, precise form, whereas a prompt written for AI is phrased in everyday language, and the model interprets it itself.
Related concepts
user interface, developer tools, operating system
command interpreter, script, Bash, PowerShell
terminal, coding agent, graphical user interface, API, Git
A brief history
The command line emerged in the 1960s, when people communicated with computers by typing lines on typewriter-like teleprinters. The command interpreter introduced by Unix in 1971 set the pattern that modern shells still follow. On personal computers, the command line became widely known through MS-DOS, released in 1981.
Where things stand
By the end of 2026, the command line is the basic tool for developers and operators, part of every common operating system. Due to coding agents, people who have never opened a terminal before are increasingly encountering it.
In the news
- Forma offers a Rust 3D modeling engine and an MCP server for AI agentsDec 3, 2026 · Code
- BeatCMO launches as an open-source marketing toolNov 30, 2026 · Marketing
- Gemini CLI requires a Code Assist licence or a paid keyNov 30, 2026 · Code
- Martin Woodward runs GitHub Copilot CLI offline on a Raspberry Pi 5Nov 30, 2026 · Code
- Developer runs GitHub Copilot CLI offline on a Raspberry Pi 5Nov 29, 2026 · Code
- Visa launches upgraded CLI agent wallet to let US users verify AI agentsNov 23, 2026 · Marketing
- AWS adds decision models and a coding agent sandbox to StrandsNov 23, 2026 · Code
- Visa’s US pilot wallet lets users verify AI agents with a payment cardNov 23, 2026 · Money
Also known as
command line · command-line interface · command line · command-line interface · CLI · konzol · command-line interface
This entry was machine-edited and has undergone machine expert review; the “In the news” section updates automatically from Agent Age stories.