Here are the steps on how to change the default shell to Bash on macOS:
- Open Terminal.
- Type the following command:
chsh -s /bin/bash
- Press Enter.
- You will be prompted to enter your password.
- Enter your password and press Enter.
- Your default shell will be changed to Bash.
You can also change the default shell to Bash from System Preferences.
- Open System Preferences.
- Click on Users & Groups.
- Click on your user account.
- Click on the Login Shell tab.
- Select /bin/bash from the list of shells.
- Click on the Change button.
- Enter your password and click on the OK button.
- Your default shell will be changed to Bash.