Acronym · Tools and features
CLI
Short for command-line interface
A way to use a program by typing text commands in a terminal window instead of clicking buttons.
- Also called
- command line
- Category
- Tools and features
What it is
You type a command, press Enter, and the program runs it and replies with text. It's a way of operating computers with decades of history, and it's still the favorite of many programmers, because it's fast and easy to automate.
In practice
Many GlossaryCoding agentAn AI agent that writes code: it reads a project's code, changes it, runs tests and commands, and proposes or applies the changes.More about Coding agent →, such as GlossaryClaudeAnthropic’s AI assistant and the family of models of the same name. It can chat, write, analyze documents and create artifacts, and it can take on long tasks with your files and apps.More about Claude →, GlossaryCodexOpenAI's coding agent: it writes, reviews and runs code from instructions in plain language. It's used from the terminal, the editor or ChatGPT.More about Codex → and GlossaryGeminiGoogle’s AI assistant and the family of models of the same name. It understands text, images and audio, and its models also power Google features like AI Mode in Search or the help in Gmail and Docs.More about Gemini → CLI, live in the terminal. So do tools like Git and Docker: with one line you start a project or a GlossarySandboxA closed space where a program or an AI agent can work without touching the rest of the computer or going online without permission.More about Sandbox →.
Watch out for…
A badly written command can delete files without asking. If a tutorial or an GlossaryAIartificial intelligenceThe branch of computer science that builds programs able to do tasks we associate with human intelligence, like understanding language, recognizing images or making decisions.More about AI → asks you to paste a command, read what it does before running it, especially if it includes “sudo” or downloads something from the internet.