A terminal is a window into which you can type commands that are then executed by your computer's operating system. The cursor point in the terminal where you type is called the command line, and so a terminal is sometimes also referred to as a command-line interface (CLI).