Use zsh as the default shell on your Mac - Apple Support (CA)

Starting with macOS Catalina, 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.