this just showed up What is ZSH? Do I need it? Why? And it bugs me

I don't understand what this is all about. It just showed up in my dock, and I don't like it. ZSH... what is it, why do I need it? It bugs me.

Thanks,

Jane

Mac mini 2018 or later

Posted on Jun 23, 2021 8:55 PM

Reply
Question marked as Top-ranking reply

Posted on Jun 24, 2021 4:19 AM

Apple has been shipping the unsupported and ancient bash 3.2.57 shell with macOS for more than a decade. With Catalina and Big Sur, Apple chose to switch to the MIT licensed, and supportable zsh shell as the default shell in the Terminal. The old bash shell is still available if you prefer to continue using it.


There are two approaches to the issue. Don't switch to the new zsh shell and gag that Terminal message by editing your bash startup file (/Users/username/.bash_profile) and add the following line:


export BASH_SILENCE_DEPRECATION_WARNING=1


or switch to the new zsh shell by running the recommended command:


sudo chsh -s /bin/zsh


Enter your admin password at the prompt and press return. The characters are not echoed as you enter them.


In either case, the message that appears when you launch the Terminal will disappear.

2 replies
Question marked as Top-ranking reply

Jun 24, 2021 4:19 AM in response to Jane_480

Apple has been shipping the unsupported and ancient bash 3.2.57 shell with macOS for more than a decade. With Catalina and Big Sur, Apple chose to switch to the MIT licensed, and supportable zsh shell as the default shell in the Terminal. The old bash shell is still available if you prefer to continue using it.


There are two approaches to the issue. Don't switch to the new zsh shell and gag that Terminal message by editing your bash startup file (/Users/username/.bash_profile) and add the following line:


export BASH_SILENCE_DEPRECATION_WARNING=1


or switch to the new zsh shell by running the recommended command:


sudo chsh -s /bin/zsh


Enter your admin password at the prompt and press return. The characters are not echoed as you enter them.


In either case, the message that appears when you launch the Terminal will disappear.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

this just showed up What is ZSH? Do I need it? Why? And it bugs me

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.