Apple M1 – Installing HomeBrew and ZSH

Do you want to improve your Terminal experiencie in your Mac? Ok, let’s go!

Don’t worry, both Apple M1 and Intel works with this tutorial!

I recommend you use the iTerm, it’s a powerful terminal. 

Only M1: If you don’t like iTerm, duplicate the and rename, like

Only M1: Now, you need set the app to open with Rosetta:

Now, we need to install HomeBrew, it’s available to run without Rosetta, but, a lot of gems don’t work, because this, I recommend you use with Rosetta.

To install HomeBrew, jut type in iTerm:

/bin/bash -c "$(curl -fsSL"

Wait, this will take a few minutes…

When HomeBrew installation was completed, let’s install zsh.

sh -c "$(curl -fsSL"

Restart your iTerm, now your terminal looks like this:

For a easy customization, PowerLevel10k, it’s a wizard to help you.

Installing view HomeBrew:

brew install romkatv/powerlevel10k/powerlevel10k

After installation, you will need to edit the ~/.zshrc file.

  • Remove the line with ZSH_THEME.
  • Add a new line with:
source /usr/local/opt/powerlevel10k/powerlevel10k.zsh-theme

Restart again your iTerm, and follow the wizard!

Done! Now you have iTerm, HomeBrew, and ZSH working in your Mac!