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

~/.zshrc

ZSH_THEME=agnoster

После обновления .zshrc надо в терминале ввести:

source ~/.zshrc