Zsh (or z shell) is a popular alternative to the bash and tcsh shells, which contains many improvements and
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 install zsh by default in Terminal on Mac
Open the Terminal program, select “Terminal” in the menu bar, and then select “Settings”.
To change all command shells to zsh:
- 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 to zsh:
- 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.