Knowledge for the World

How to install zsh (Z shell)

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.

1

Zsh is available in most package managers.

OS X

brew install zsh

Ubuntu

sudo apt-get install zsh

Fedora

sudo yum install zsh

2

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.

3

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.