The Z shell, more commonly referred to as zsh , is a UNIX shell that is built on top of the Bourne shell (macOS default shell), better known as bash . Z shell is basically an extended version of Bash, with many additional features. To learn more about the basics of Bash, read: Deck Out Your Mac Terminal: Bash Basics.