跳转至

Foundation

What's the difference between Shell and Terminal?

term example key takeaway
Shell: The command interpreter that processes your commands and talks to the OS.
  • Bash (Git Bash, MSYS2)
  • Powershell (v5.1, Powershell7+)
  • Zsh (default on modern macOS)
  • cmd.exe (Windows legacy)
The shell is the "engine" that executes commands.
Terminal: The interface that displays text input/output (originally hardware, now mostly software emulators).
  • Windows Terminal
  • macOS Terminal.app/iTerm2
  • Linux: GNOME Terminal, Konsole
  • Classic hardware: VT100, IBM 3270
The terminal is the "window" that renders text.