ZSH or Z shell is a great alternative to the traditional Bash shell of Linux. It acts perfectly as an interactive shell and an interpreter for shell scripts. Also, it combines the features of multiple shells, making this shell extremely powerful.
Here at LinuxAPT, we shall look into how to install ZSH on a Ubuntu Linux system.
To begin, update the system by running the below command:
$ sudo apt-get update
Now, install the Z shell on your system by running the below command:
$ sudo apt-get install zsh –y
To verify the installation of Z shell on the system, simply run the below command:
$ zsh --version
This will display the version of ZSH installed on the machine.
You can remove Z shell from the system, run the below command:
$ sudo apt-get purge --autoremove zsh
This article covers the complete process of installing the Z shell on your Ubuntu Linux System. In fact, Zsh is a shell, or command-line interpreter, for Linux systems.