zsh

Install command:
brew install zsh

UNIX shell (command interpreter)

https://www.zsh.org/

License: MIT-Modern-Variant AND GPL-2.0-only AND GPL-2.0-or-later AND ISC

Development: Pull requests

Formula JSON API: /api/formula/zsh.json

Formula code: zsh.rb on GitHub

Bottle (binary package) installation support provided for:

macOS on
Apple Silicon
golden gate ✅
tahoe ✅
sequoia ✅
sonoma ✅
macOS on
Intel
sonoma ✅
Linux ARM64 ✅
x86_64 ✅

Current versions:

stable ✅ 5.9.2
head ⚡️ HEAD

Depends on:

ncurses 6.6 Text-based UI library
pcre2 10.49 Perl compatible regular expressions library with a new API

Depends on when building from source:

texinfo 7.3 Official documentation format of the GNU project

Binaries: zsh, zsh-5.9.2

GitHub Packages downloads:

Last 30 days70,985
Downloads4,337,922
Analytics install events (30 days)26,971
Downloads / install events (30 days)2.6×

Source: GitHub Packages, fetched 2026-11-14T00:21:05Z. Analytics dates: 2026-10-15 to 2026-11-14. Totals exclude downloads from Bintray before the migration to GitHub Packages. Downloads and install attempts measure different things; the difference does not count analytics opt-outs. Definitions and limitations.

Analytics:

30 days90 days365 days
Installs26,96462,444215,753
Installs (--HEAD)739247
Installs on Request26,31560,643209,744
Installs on Request (--HEAD)739247
Build Errors2
Build Errors (--HEAD)1