How to use the default “zsh” command shell in Terminal on Mac

Zsh (or z shell) is a popular alternative to the bash and tcsh shells that contains many improvements and

customization options thanks to the Oh-My-ZSH project.

</ p>

If you want to use the default zsh in Terminal, instead of bash, it’s pretty easy to do, and we’ll explain exactly how.

How to installzsh default inTerminal onMac

Open the Terminal program, select “Terminal” in the menu bar, and then select “Settings”.

To change all command shells tozsh:

  • Select the "Basic" tab, and then change the "Opening Shell:" to "Team (full path" and enter the following:

/ bin / zsh /

To change a specific profile tozsh:

  • Select the Profiles tab, and then select a profile from the list or create a new one.
  • Open the "Shell" tab, check the box next to "Run command:" and enter "zsh".

Open a new Terminal window or a new window withspecific profile, and you will see that the zsh shell is now installed by default. Changes will remain even after closing and restarting Terminal, but the active windows will need to be updated.

By the way, it is not necessary to use the zsh shell, the standard one can be changed for anything.

After you have changed the standard command shell to zsh, you should evaluate the “oh-my-zsh” project with a lot of themes, functions and other useful things.