Install homebrew on M1 Mac

Wannn
Dec 30, 2022

--

source image: https://www.wisdomgeek.com/wp-content/uploads/2021/03/Installing-Intel-based-packages-using-Homebrew-on-the-M1-Mac.jpg

Install the Homebrew package manager. This will allow you to install almost any app from the command line.

Run this command:

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

On Apple Silicon machines, there’s one more step. Homebrew files are installed into the /opt/homebrew folder. But the folder is not part of the default $PATH. Follow Homebrew's advice and create a ~/.zprofile file which contains a command which sets up Homebrew.

Homebrew shows instructions at the end of the installation process:

# add homebrew to your PATH in ~/.zprofile:
echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> ~/.zprofile
eval "$(/opt/homebrew/bin/brew shellenv)"

After you’ve installed Homebrew, check that Homebrew is installed properly.

brew doctor

You should see:

Your system is ready to brew.

Make sure everything is up to date.

brew update

--

--

Wannn
Wannn

Written by Wannn

0 Followers

Passionate about transforming lives through experiential learning.

No responses yet