install zsh homebrew code example Example 1: nano .zshrc nano ~/.zshrc Example 2: brew install zsh brew install zsh