macOS Ventura 13: The default interactive shell is now zsh


macOS Ventura default interactive shell is now zsh

If you switch from the default zsh shell to bash on macOS Ventura 13, you will see an info message saying default interactive shell is now zsh

% 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$

When you visit the support link in the message you would know more,

Starting with macOS Catalina, your Mac uses zsh as the default login shell and interactive shell. bash is the default shell in macOS Mojave and earlier.



How to supress the default interactive shell is now zsh message

Open the terminal window and execute the below command.

% export BASH_SILENCE_DEPRECATION_WARNING=1

Now if you try to move to the bash shell, you will not see the message again.



How to change the default shell as bash

  • Open Terminal App,
  • Type chsh -s /bin/bash
  • You will see a message: Changing shell for your-user, enter the password for the logged in user,
  • The default shell will now be changed to bash!
-


Have Questions? Post them here!


Top Hashtags: