How to Install ZSH (Z Shell)

Tyler Tyler (304)
0

As much as I loved the Bourne Again Shell, I feel like I've been living in the stone ages. I switched to Z shell a number of years ago, and my life is more enjoyable. I was recently referred to the FISH (Fish shell), so I will probably experiment with that soon as well. Naturally, a few zsh guides will likely follow, but I'll start with how to install it.

Note: If you've upgraded your macOS to Catalina, zsh is now the default shell.

Posted in these interests:
h/zsh2 guides
h/linux41 guides
h/unix13 guides

Zsh is available in most package managers.

OS X

brew install zsh

Ubuntu

sudo apt-get install zsh

Fedora

sudo yum install zsh

If you want to specify zsh as your default shell run this:

chsh -s /bin/zsh

Now when you open a new shell it will use zsh.

Oh my zsh is a framework for managing you zsh configuration. Learn how to install oh my zsh here. Or learn more about oh my zsh here.

Tyler Tyler (304)
0

"Oh-My-Zsh is an open source, community-driven framework for managing your ZSH configuration.