If you want to know the list of available shells on your macOS (Catalina, Mojave, Big Sur) you can try the command cat /etc/shells, this will print list of all shells that are available,

Terminal command to get available shells in macOS
mac:~ code2care$ cat /etc/shells
# List of acceptable shells for chpass(1).
# Ftpd will not allow users to connect who are not using
# one of these shells.
/bin/bash
/bin/csh
/bin/dash
/bin/ksh
/bin/sh
/bin/tcsh
/bin/zsh
✏️ Z Shell (Zsh) is the default. shell shipped since macOS Catalina and BigSur
How to switch between shells in macOS?
Simply type the shell name on the prompt.
code2care@mac ~ % 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$ csh
[mac:~] code2care% dash
$ ksh
$ sh
sh-3.2$ tcsh
[mac:~] code2care% zsh
code2care@mac ~ %
More Posts related to MacOS,
- How to Open Finder using Mac Terminal
- How to install maven in macOS using Terminal Command
- How to install iTerm2 Mac Terminal Alternative
- Find Mac version using terminal command
- Zsh Shell: Custom alias that you may find useful
- How to Uninstall Brew on Mac
- Go to Specific file path using Mac Finder
- How to open new tabs macOS Terminal
- fix macOS: The digital signature on the update is missing or invalid. Ventura
- ls: .: Operation not permitted - Mac Terminal ZSH Error
- Closest Alternate to Notepad on Mac
- How to Open Trash on Mac
- How to uninstall Microsoft Outlook on Mac
- [fix] macOS Ventura xcrun: error: invalid active developer path missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
- [Vi/Vim] How to move cursor to the start of a line
- macOS 13 Ventura - The New About this Mac Window
- Best Free Gif screen capture app now available for M1 Chip Mac - LICECap
- 30+ Zoom video communications application shortcuts for macOS
- How to create alias in macOS
- How to install Node using Brew on Mac
- How to start/boot macOS in safe mode - Big Sur 11.0, Catalina 10.15, or Mojave 10.14
- Cant find System Preferences... under macOS Ventura Apple Menu?
- Mac turn dark mode on or off using terminal command
- How to Close Safari in Mac using Keyboard shortcut
- How to Upgrade Mac from Monterey to macOS Ventura
More Posts:
- How to add ruler in Sublime Text tab window - Sublime-Text
- How to switch from bash to zsh shell in macOS Terminal - MacOS
- Create Symbolic Link using Terminal Command - MacOS
- How to un-hide tab bar in notepad++ - NotepadPlusPlus
- How to make a dummy phone call from Android Emulator device - Android
- How to enable anonymous public access for SharePoint Online site collection, file, folder without login ? - SharePoint
- [macOS] NetBeans IDE cannot be installed. Java (JRE) found on your computer but JDK XX or newer is required. - MacOS
- How to Identify installed PowerShell version - Powershell