RIP Bash: macOS Catalina Will Set Z Shell as Terminal Default

macOS terminal icon

Starting with the macOS Catalina beta, your Mac will use zsh as the default shell in Terminal, replacing Bash.

Bash and Z Shell

Bash, otherwise known as the Bourne Again Shell, started in 1989 to replace the older Bourne shell. It’s been the default shell in macOS starting with OS X Jaguar released in 2002. However, people have always been able to change what shell they want, and Z shell is a popular alternative. Z shell extends Bash with a bunch of improvements.

Don’t miss the best of The Mac Observer

Set us as a preferred source and our Apple reporting ranks higher in your Google Search results and Discover feed — one tap, no account changes.

Or get it by email

Changing Your Default Shell From Users & Groups

  1. Choose Apple menu  > System Preferences, then click Users & Groups.
  2. Click the lock icon, then enter your account name and password.
  3. Control-click your user name in the list of users on the left, then choose Advanced Options.
  4. Choose a shell from the ”Login shell” menu, then click OK to save the changes.

Selecting z shell in system preferences

Changing Your Default Shell From Terminal

Open Terminal and enter the following command:

$ chsh -s path

Where path is one of shell paths listed in /etc/shells, such as /bin/zsh, /bin/bash, /bin/csh, /bin/dash, /bin/ksh, /bin/sh, or /bin/tcsh.

Further Reading:

[macOS: How to Update Your Mac in the Terminal]

[9 Alternatives for the Apple’s Mac Terminal App]

Discussion

3 comments
Newest first
Join the discussionCommenting as a guest — your email is never published · Log in

Protected by Akismet — be kind, stay on topic.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

  1. Victor Piousbox Subscriber 7 years ago

    Well it’s hardly possible to “remove” something as fundamentally OSS as bash.

    Reply
  2. Scott B in DC Subscriber 7 years ago

    Are they removing bash or just adding zsh and leaving it as an option? Remember, when Jaguar was released tcsh was the default shell. I forgot when they moved to bash (Leopard?) but tcsh is still available.

    Reply
    1. Andrew Orr Author 7 years ago

      I’m not sure if bash will be completely removed, it might stick around as an option.

      Reply