/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
echo 'export PATH="/usr/local/sbin:$PATH"' >> ~/.zshrc
source ~/.zshrc
Usage #
- Run the command above in your terminal application of choice
- If you have not installed the Xcode Command Line Tools, brew will automatically install them for you
- After the installation completes, run
brew doctor
- If the output of
brew doctor is Your system is ready to brew., you are done
- If
brew doctor returns issues, resolve them according to the provided instructions
- You may want to set up Homebrew’s shell-completion at this time