zsh is a highly customizable bash alternative for Linux.

Debian Distros

The following steps have been tested on Ubuntu 16.04. Should work in any Debian distro


Git is required for zsh to work, so I will add it in sudo apt install. If you already have git, the package will not be installed automatically.

Install zsh

sudo apt install zsh git

Change default shell

View where zsh is

which zsh

Edit (or create) the .bash_profile

nano ~/.bash_profile

Add the following

export SHELL=/bin/zsh
exec /bin/zsh -l

Install the shell

sh -c "$(curl -fsSL"