How To Install Zsh On Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora, Raspbian And MacOS?
Maintainer: Debian Zsh Maintainers
Email: [email protected] .
Website: https://www.zsh.org/
Section: shells
Install zsh
-
Debian
apt-get install zshClick to copy -
Ubuntu
apt-get install zshClick to copy -
Alpine OS
apk add zshClick to copy -
Arch Linux
pacman -S zshClick to copy -
Kali Linux
apt-get install zshClick to copy -
CentOS
yum install zshClick to copy -
Fedora
dnf install zshClick to copy -
Raspbian
apt-get install zshClick to copy -
macOS
brew install zshClick to copy
Z SHell. `bash` and `sh`-compatible command line interpreter.
How to use zsh?
Below are few example commands for zsh that you can use in the terminal.
Start interactive command line interpreter:zshClick to copyExecute command passed as parameter:zsh -c commandClick to copyRun commands from file (script):zsh fileClick to copyRun commands from file and print them as they are executed:zsh -x fileClick to copy
Installation of latest zsh command is available for Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora, Raspbian and macOS. You can copy the command for your OS from above and paste it into your terminal. Once you run the command it will download the 2026 latest package from the repository and install it in your computer/server.




