After installing ZSH you might struggle with setting it as your default shell. Following command will take care of this:
chsh -s $(which zsh)
sudo is not needed here, as you want to set the default for the current user and not for root.
Make sure to log out and back in to your computer so the change gets applied!