How to install zsh (Z shell)

Tyler Tyler (258)
0

As much as I loved the Bourne Again Shell, I feel like I've been living in the stone ages. I recently switched to the Z shell and my life is more enjoyable. I was recently referred 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.

Posted in these interests:

zsh
PRIMARY
2 subscribers
linux
75 subscribers
unix
18 subscribers

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.