forked from ohmyzsh/ohmyzsh
-
Notifications
You must be signed in to change notification settings - Fork 110
Installing ZSH
Ryan Pope edited this page May 11, 2016
·
9 revisions
Oh-My-Zsh is a framework for Zsh, the Z shell.
- In order for Oh-My-Zsh to work, Zsh must be installed.
- Please run
zsh --version
to confirm. - Expected result:
zsh 5.2
or more recent
- Please run
- Additionally, Zsh should be set as your default shell.
- Please run
echo $SHELL
from a new terminal to confirm. - Expected result:
/bin/zsh
- Please run
If necessary, follow these steps to install Zsh:
- There are two main ways to install Zsh
- with the package manager of your choice (e.g.
sudo apt-get install zsh
) or - from source, following instructions from the Zsh FAQ
- Verify installation by running
zsh --version
. Expected result:zsh 5.2
or more recent. - Make it your default shell:
chsh -s $(which zsh)
- Note that this will not work if Zsh is not in your authorized shells list (
/etc/shells
) or if you don't have permission to usechsh
. If that's the case you'll need to use a different procedure.
- Log out and login back again to use your new default shell.
- Test that it worked with
echo $SHELL
. Expected result:/bin/zsh