macOS Monterey when switch to bash displays message - The default interactive shell is now zsh


macOS Monterey - Bash - The default interactiv shell is now zsh

If you are new to macOS or have been using a version below macOS Catalina, you would find that as you switch the Terminal prompt from zsh to bash, you get the message "The default interactive shell is now zsh.", you would see that the prompt does move to bash.

c2c@monterey ~ % bash

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.

bash-3.2$ 

To know more you can visit the link in the message: https://support.apple.com/kb/HT208050

Since macOS Catalina, the default login shell and the interactive shell for Mac devices is zsh (Z Shell)

Switching the default shell on macOS Monterey

Change default shell macOS Monterey
  1. Go to Apple menu ,
  2. Select System Preferences..,
  3. Click on Users & Groups,
  4. Now click on the lock icon and enter your account name & password,
  5. Control-click (Right Click) on your user name or icon in the list of users and select Advanced Options,
  6. Now under Login shell - select the shell you want to use as default.
  7. Click on Ok
List of shells available:
  • /bin/bash
  • /bin/tcsh
  • /bin/sh
  • /bin/csh
  • /bin/zsh
  • /bin/ksh

Note: You would see the warning: "Changing these settings might damage the account and prevent the user from logging in. You must restart the computer for the changes to these settings to take effect."


Top Hashtags:

Advertisements

Advertisements




Advertisements