Member-only story

How to Install and Configure Homebrew, Oh My Zsh, Zsh, and Powerlevel10k on macOS

Leandro A. Siqueira
2 min read1 day ago

Setting up your macOS terminal with powerful tools like Homebrew, Oh My Zsh, Zsh, and Powerlevel10k (P10k) can drastically improve your development workflow. Let’s go through the installation and configuration step-by-step.

1. Install Homebrew

Homebrew is a package manager for macOS that simplifies the installation of software.

To install Homebrew:

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

After installation, add Homebrew to your shell profile:

echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> ~/.zprofile
eval "$(/opt/homebrew/bin/brew shellenv)"

To verify the installation:

brew --version

2. Install Zsh

Zsh (Z Shell) is a powerful alternative to the default Bash shell in macOS.

Install Zsh with Homebrew:

brew install zsh

Set Zsh as your default shell:

chsh -s $(which zsh)

To confirm the change:

echo $SHELL

It should output something like /bin/zsh or /usr/local/bin/zsh.

3. Install Oh My Zsh

--

--

Leandro A. Siqueira
Leandro A. Siqueira

Written by Leandro A. Siqueira

Well, I woke up this morning and I got myself a beer!

No responses yet