Changing from Bash to Zsh

I just replaced my 2010 iMac with a M2 Mac Mini. When I opened a terminal, I got the message "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".


First problem: that link is broken. I get the message: "The page you’re looking for can’t be found."


Second problem: after running chsh -s /bin/zsh and entering password I get the message "Changing shell for abc". But when I enter echo $SHELL I get the reply /bin/bash.



Mac mini (M2, 2023)

Posted on Feb 15, 2024 10:00 AM

Reply

Similar questions

3 replies
Sort By: 

Feb 15, 2024 8:09 PM in response to Mglepd

Mglepd wrote:

Second problem: after running chsh -s /bin/zsh and entering password I get the message "Changing shell for abc". But when I enter echo $SHELL I get the reply /bin/bash.


The command changes your default shell. It doesn't kill the one you're currently running, and somehow spawn a new one transparently under you. So if you were in bash when you entered it, you'll still be in bash afterwards.


The next time that you launch Terminal, when it spawns a default shell, that's when you'll be put into zsh.

Reply

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.

Changing from Bash to Zsh

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