Homebrew
Install Homebrew
Install Apple's Command Line Tools if needed, then wait for installation to finish:
bash
xcode-select --installRun the Homebrew installer:
bash
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"Follow the installer's Next steps. For Apple Silicon with Zsh, add Homebrew to the shell environment once:
bash
echo >> ~/.zprofile
echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> ~/.zprofile
eval "$(/opt/homebrew/bin/brew shellenv)"Intel Macs use /usr/local/bin/brew instead of /opt/homebrew/bin/brew.
Continue with terminal setup.