---
title: "CLI"
expansion: "command-line interface"
spanish: "interfaz de línea de comandos"
aliases: ["command line"]
category: "Tools and features"
description: "A way to use a program by typing text commands in a terminal window instead of clicking buttons."
updated: 2026-11-27T08:13:54.120Z
glossary: "https://www.jmcliment.com/en/glosario"
canonical: "https://www.jmcliment.com/en/glosario/cli"
---

# CLI

Short for *command-line interface*.

- Also called: command line
- Category: Tools and features

A way to use a program by typing text commands in a terminal window instead of clicking buttons.

## 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 [coding agents](https://www.jmcliment.com/en/glosario/coding-agent), such as [Claude Code](https://www.jmcliment.com/en/glosario/claude), [Codex](https://www.jmcliment.com/en/glosario/codex) and [Gemini](https://www.jmcliment.com/en/glosario/gemini) CLI, live in the terminal. So do tools like Git and Docker: with one line you start a project or a [sandbox](https://www.jmcliment.com/en/glosario/sandbox).

## Watch out for…

A badly written command can delete files without asking. If a tutorial or an [AI](https://www.jmcliment.com/en/glosario/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.

Learn more: <https://en.wikipedia.org/wiki/Command-line_interface>
