How To Tell What Shell Your Mac Is Using - Macinstruct

Macinstruct logo Macinstruct
  • TagsAirPort Apple Apps Backups Developer Education Email Hardware Internet iPad iPhone Mac Music Network Photos Security TV Weekend Wonk
How to Tell What Shell Your Mac is Using

Matt Cone January 22, 2021 Tutorials Mac Developer

Every Mac comes with a Unix shell that provides a command line interface. Macs running macOS 10.15 and later use Zsh by default. Before that, Macs used the Bash shell by default. Of course, no matter what version of macOS you’re using, you can change the shell your Mac is using.

What shell is your Mac using? There’s an easy way to tell — here’s how.

  1. Open the Terminal application on your Mac.

  2. At the prompt, type echo $0, as shown below.

    How to tell what shell your Mac is using

The name of the shell the Mac is using is displayed in the output.

  • How to Set Bash as the Default Shell on Mac
  • How to Make a Bash Script Executable on a Mac

Subscribe to our email newsletter

Sign up and get Macinstruct's tutorials delivered to your inbox. No spam, promise!

Submit

About Privacy Policy Terms and Conditions

© 2023. A Matt Cone project. CC BY-NC-SA 4.0. Made with 🌶️ in New Mexico.

Tag » What Shell Am I Using