chsh -s /usr/bin/zsh

Category: Terminal Configuration

chsh -s /usr/bin/zsh

Change your default shell to zsh

chsh (change shell) updates your login shell in /etc/passwd. You must log out and back in for the change to take effect. The shell must be listed in /etc/shells. Install zsh first with `sudo apt install zsh`.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.