So, I wanted to install Homebrew on my new M3 Mac. After some hiccups and troubleshooting, these are the final steps that worked:
Step 1: Install Command Line Tools:
Open Terminal, and type:
xcode-select --install
Follow the prompts to install the required tools.
Step 2: Install Homebrew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
Step 3: Add Homebrew to PATH:
Open the ~/.zshrc file:
nano ~/.zshrc
Add this line:
export PATH="/opt/homebrew/bin:$PATH"
Save and reload:
source ~/.zshrc
Step 4: Verify Installation:
brew --version
Done! 🎉 Homebrew is ready to use.
Subscribe to our email newsletter and unlock access to members-only content and exclusive updates.
Comments