Installing ZSH on Ubuntu

Zsh packages are available under the default apt repositories. So first, update the Apt cache on your system with latest available packages. Then type below command to install zsh shell packages with required dependencies.

Once the installation completed, let’s check the installed Zsh shell version by running command:

Installing Oh-My-Zsh Plugin

On-My-Zsh plugin provides a large number of customization for the Z shell. So without this plugion Zsh plugin is incomplete. So we also recommend to install this plugin on with Zsh shell. Oh-My-Zsh provides a shell script for the installation on Linux systems. Execute the following command to install this plugion on your system. This will ask you to setup Zsh as default set. You can access or reject this as your choice. After that installation will complete within few seconds. You may like to change Zsh theme by editiog ~/.zshrc file on your system. You can select a theme from here. Set theme name to ZSH_THEME environment variable.

Save file and close it. Then launch a new shell to apply changes.

Launch Zsh Shell Terminal

To launch a Zsh shell terminal just type “zsh” from your current shell.

Conclusion

In this tutorial, you have learned about installation off Zsh shell on Ubuntu system. Also installed Oh-My-Zsh plugin on your system.

How to Install ZSH  Z Shell  on Ubuntu 20 04   TecAdmin - 21How to Install ZSH  Z Shell  on Ubuntu 20 04   TecAdmin - 5How to Install ZSH  Z Shell  on Ubuntu 20 04   TecAdmin - 30How to Install ZSH  Z Shell  on Ubuntu 20 04   TecAdmin - 15