from zsh to bash code example Example 1: run bash script on zsh #!/usr/bin/env bash Example 2: zsh shell sudo apt install zsh (Linux)