# zsh

*noun*

say it: **“ZEE shel”** **/ˈzi ʃɛl/**

A shell, the program that reads and runs the commands you type, that a Mac's Terminal app opens by default; it's a close relative of bash.

## What is **zsh**?

**zsh** (read "Z shell") is a shell: the program that reads your commands and runs them. It's the one a Mac's Terminal app opens, and it understands almost every command bash does. Its prompt ends in `%` where bash's ends in `$`.

```bash
echo $SHELL
# /bin/zsh
```

## In a sentence

- “Almost every command from the bash lessons worked the same in **zsh**.”
- “On her Mac, Priya's Terminal opened **zsh**, and its prompt ended in a percent sign.”

Level: Novice · [More Unix terms at this level](https://www.ask-codey.com/glossary?category=unix&level=1)

Updated: November 10, 2026

Source: https://www.ask-codey.com/glossary/zsh
