Starting with the macOS Catalina beta, your Mac uses zsh as the default login shell and interactive shell. You can make zsh the default in earlier versions of macOS as well.
By default, your Mac uses either zsh or bash as the command-line interpreter for the login shell and interactive shell:
- zsh (Z shell) is the default shell for all newly created user accounts, starting with the macOS Catalina beta, currently available only to members of the Apple Developer Program.
- bash is the default shell in macOS Mojave and earlier.