Case & CodeA FIELD GUIDE TO AI
Start learning
Intermediate

CLI — Command-line interface

In plain words

A text window where you type commands to the computer instead of clicking buttons.

The fuller definition

A command-line interface lets a person operate software by typing commands and arguments into a terminal.

How it fits together
  1. Command

    Program name

  2. Arguments

    Options and inputs

  3. Terminal

    Output and status

A simplified relationship, not a screenshot or a complete design.

A concrete example

A model runner accepts a command naming the model to load.

The distinction that matters

The terminal is an interface to programs; it is not itself a language model.

Related terms

Where it is taught

APIs and JSON: connect a model to a small program

Source and further reading

MDN · Web technology glossary

The definition and example are written for this library. The link gives background, official documentation or legal authority as labelled. Legal scope depends on the jurisdiction and current text; product features depend on release and settings.

Lessons, terms, practical guides and sources ESC