A terminal is the plain text way of using a computer. Instead of clicking icons, you type a short instruction, press Enter, and read the reply. Every operating system ships one. AI tools such as Claude Code and Codex run inside it because the whole exchange is text, which a language model can read and write directly, and because from the terminal the tool can see your files and run your programs without a separate app for each.
Key facts
- 1window: the terminal is the app, the shell inside it is the program reading your commands
- 3shells you will meet: PowerShell on Windows, zsh on a Mac, bash on Linux
- 2022Windows Terminal became the default command line on Windows 11 (version 22H2)
- 0coding knowledge required to type a command someone wrote out for you
- MDN definition of a terminal; Microsoft Learn on Windows Terminal and PowerShell; Apple on zsh (macOS 10.15); release years from the projects; checked 30 September 2026
What is the difference between a terminal, a shell and a command prompt?
People use the three words for the same thing, and the muddle is harmless, but here is the split. The terminal is the window: it draws the text and takes your keystrokes. The shell is the program running inside that window that reads what you typed and does it. Command prompt is the name of one old Windows shell, and also the little marker at the start of the line waiting for you to type. On Windows 11 the window is Windows Terminal and the shell inside it is PowerShell. On a Mac the window is called Terminal and the shell is zsh.
| Name | What it is | Where | First released |
|---|---|---|---|
| Command Prompt (cmd) | The old Windows shell | Windows | 1987 |
| bash | The standard Linux shell, also on older Macs | Linux, macOS | 1989 |
| PowerShell | The modern Windows shell | Windows, also Mac and Linux | 2006 |
| zsh | The default Mac shell since 2019 | macOS, Linux | 1990 |
| Windows Terminal | The window that hosts any of the above on Windows | Windows 10 and 11 | 2019 |



