Here are the steps on how to change the default shell to Bash on macOS:

  1. Open Terminal.
  2. Type the following command:
chsh -s /bin/bash
  1. Press Enter.
  2. You will be prompted to enter your password.
  3. Enter your password and press Enter.
  4. Your default shell will be changed to Bash.

You can also change the default shell to Bash from System Preferences.

  1. Open System Preferences.
  2. Click on Users & Groups.
  3. Click on your user account.
  4. Click on the Login Shell tab.
  5. Select /bin/bash from the list of shells.
  6. Click on the Change button.
  7. Enter your password and click on the OK button.
  8. Your default shell will be changed to Bash.