How to change the default shell to Bash on MacOS Catalina

4
1024
MacOS Catalina Screenshot

With the release of MacOS Catalina, Apple has also changed the default shell for macOS Catalina. Now Zsh is the default shell on MacOS Catalina. Bash is still included in macOS Catalina and if you are a fan of Bash, you can switch back to it easily by following these steps:
Note: Zsh is the default shell only on newly created user accounts. So existing accounts on  MacOS will still use Bash by default.

From the terminal

Change the default shell to Bash in MacOS by running the following command in terminal:

chsh -s /bin/bash

After hitting enter, you’ll have to enter your user account’s password. After this, close the terminal window and reopen terminal. Now you’ll see Bash instead of Zsh.

Change shell to bash on MacOS Catalina

Now if you want to go back to zsh, you may run the following command:

chsh -s /bin/zsh

Here again you’ll need to enter user account’s password as shown below:

Change shell to Zsh on MacOS Catalina

You can also see a list of included shells you can select by running the following command:

cat /etc/shells
List of shells on MacOS Catalina

From System Preferences

This option can also be changed from system preferences of MacOS Catalina.
Head to System Preferences > Users & Groups on your MacOS Catalina. Click the lock icon and enter your password. Right click on user account’s name in the left pane, and select “Advanced Options.”

Click the “Login Shell” dropdown box and select “/bin/bash” to use Bash or “/bin/zsh” to use Zsh as your default shell. Click “OK” to save changes.

4 COMMENTS

  1. Hello! Someone in my Myspace group shared this website
    with us so I came to take a look. I’m definitely loving the information.
    I’m bookmarking and will be tweeting this to my followers!
    Excellent blog and great design.

LEAVE A REPLY

Please enter your comment!
Please enter your name here