Move from Zsh to Bash shell macOS


If you are looking for a way to move from the Zsh shell on macOS to Bash, all you do is type bash on the terminal prompt. Let's see it by an example,

[email protected] ~ % bash

The default interactive shell is now zsh.
To update your account to use zsh, please run `chsh -s /bin/zsh`.
For more details, please visit https://support.apple.com/kb/HT208050.
bash-3.2$ 

As you can see that I switched from % (Zsh) to $ (Bash) just by tying bash command.

✌️As Zsh is the default shell for macOS Big Sur, you will see the alert message when you switch to bash saying the default shell is zsh. To get back to Zsh, yes you got it right! Just type zsh

Move from Zsh to Bash Shell macOS Terminal Example
Move from Zsh to Bash Shell macOS Terminal Example