Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Installing zsh on CentOS

Installing zsh on CentOS

$ sudo yum install ncurses-devel

$ cd /usr/local/src

$ sudo curl -L -o zsh-5.5.1.tar.gz

$ sudo tar xvzf zsh-5.0.7.tar.gz

$ cd zsh-5.0.7

$ sudo ./configure && sudo make && sudo make install

# add zsh to login shells
$ sudo -e /etc/shells
# add '/usr/local/bin/zsh' to last line
# /usr/local/bin/zsh

# change some user's login shell
$ sudo chsh ninja
New shell [/bin/bash]: /usr/local/bin/zsh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment