A Markdown version of this page is available at
https://andrewm.codes/p/brew-install-m1-mac.md.
Skip to content
Install Brew on a M1 Mac
- Published
-
·
- Reading time
- 1 min read
·
·
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> ~/.zprofile
eval "$(/opt/homebrew/bin/brew shellenv)"
Usage#
- Run
uname -m in the Terminal of your choice and verify it outputs arm64
- Run the command above
- 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
Resources#
No responses yet — be the first.
Written a response?
Send a webmention.
↑↓
navigate
↵
open
esc
close