Install zsh
Install Zsh using the apt package manager:This installs the latest version of Zsh available in your Ubuntu repositories.
Check version
Verify that Zsh was installed successfully:You should see output similar to
zsh 5.8.1 (x86_64-ubuntu-linux-gnu).Set zsh as default shell
Change your default shell to Zsh:You’ll be prompted to enter your password to confirm the change.
Verify the change
After restarting your terminal, verify that Zsh is your default shell:/usr/bin/zsh as the output.
Next Steps
Now that Zsh is installed, you can:- Install Oh My Zsh for enhanced functionality
- Customize your shell prompt
- Use Zsh-specific features like advanced completion
- Install plugins for additional functionality