
If you open the terminal after upgrading macOS to Catalina, Big Sur, or Monterey, you would see something like this when you move to the bash from Zsh or other shells like csh, dash, ksh, sh, tcsh.
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
If you were using Mojave or below, Bash was the default shell, from Catalina onwards zsh (Z shell) is the default shell.
⛏️ Follow https://support.apple.com/kb/HT208050 to change the default shell other than zsh.
If you want to make bash the default command-line shell for macOS, you can do so by following the below steps,
- Click on the apple Logo on the menu bar ie.
- Choose System Preferences... menu option,
- Search for Users & Group,
- Click on the lock you see at the Botton left and enter your account name and password, or use fingerprint unlock,
- Do Control-click on your username and select Advanced Options,
- From the dropdown choose the shell your want to use and click OK.
How to suppress the message: "The default interactive shell is now zsh"
If you want to suppress this warning message every time that you move to any other prompt, you need to set the variable bash silence deprecation warning to a value of 1. i.e BASH_SILENCE_DEPRECATION_WARNING=1. You can do that by running the below command in the Terminal.
export BASH_SILENCE_DEPRECATION_WARNING=1
Example:
code2care@mac ~ % 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$ zsh
code2care@mac ~ % export BASH_SILENCE_DEPRECATION_WARNING=1
code2care@mac ~ % bash
bash-3.2$
Note as this setting will get terminated as soon as to close your terminal, it is better to set this in the profile of zsh shell.
- Open Terminal app,
- On the ZSH Shell type nano ~/.zshrc
- Now append the variable details: export BASH_SILENCE_DEPRECATION_WARNING=1
- Press Control + X, followed by Y to save the file, press enter to exit Nano,
- Now type command source ~/.zshrc to apply changes.

✌️ Update: June 2022, you will see the same message on macOS 13 Ventura
Comments:
- Further comments disabled!
- Opening mac Terminal
- How to change default macOS Terminal Window size
- How to clear Mac Terminal screen
- Find Hostname of Mac running on macOS Ventura 13
- Installing MongoDB on Linux/Unix/macOS/Ubuntu
- How to switch from bash to zsh shell in macOS Terminal
- Limit scrollback rows in macOS Terminal
- How to Set Background Wallpaper on macOS 13 Ventura
- This operation couldnt be completed. Unable to locate a Java Runtime. [macOS]
- Encode or Decode Base64 String using Mac Terminal Command
- List of All Apple Silicon ARM Based M1/M2 Mac [updated Oct 2022)
- How to remove Siri from Menu Bar [macOS Big Sur]
- Must Know Homebrew Commands for Mac/Linux Users
- Hide Keyboard Text Input Icon on macOS Ventura Menu Bar
- 13.0 MacOS Ventura release date
- How to change the default location of Mac Screenshot
- How to set Out Of Office (OOO) on Outlook for Mac
- 30+ Zoom video communications application shortcuts for macOS
- How to install wget on macOS
- Mac turn dark mode on or off using terminal command
- Create Symbolic Link using Terminal Command
- Mac - How to Install VirtualBox
- How to Enable or Disable Dark Mode on macOS Ventura 13
- How to install homebrew (brew) on M1 Mac
- How to uninstall Microsoft Outlook on Mac
- How to Stop/Cancel/kill docker image pull - Docker
- Program 9: Divide Two Numbers - 1000+ Python Programs - Python-Programs
- How to take a screenshot on Microsoft Windows OS on PC or Laptop - Microsoft
- How to exclude results from SharePoint Search - SharePoint
- Fix Windows Update Install Error 0x80070005 - Windows
- How to retrieve all SharePoint Online List Items using Rest API - SharePoint
- Change Height of Android ActionBar - Android
- How to take a screenshot of android emulator (AVD) screen - Android