Install Zsh code example

Example 1: ubuntu install zsh

#The sudo apt-get update command is used to download package 
#information from all configured sources 
#So when you run update command, it downloads the package 
#information from the Internet. It is useful to get info on 
#an updated version of packages or their dependencies.

sudo apt-get update
sudo apt-get install zsh

#Now that ZSH shell is installed, you can check whether ZSH 
#is working with the following command:
zsh --version

Example 2: install zsh debian

$ sudo apt-get install zsh
$ sh -c "$(wget https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"

Example 3: oh my zsh

sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

Example 4: brew install zsh

brew install zsh

Example 5: install zsh ubuntu

sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"

Example 6: install zsh

sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"