HOW TO: Install Homebrew on M1 Macs Running macOS Monterey

Homebrew – the missing package manager for macOS. Probably the most popular package manager for macOS, Homebrew provides an easy way to install UNIX tools and binary apps.

Let’s take a look at how to install and use Homebrew on M1 Macs running macOS Monterey.

NOTE: Apple replaced bash with zsh as the default Terminal shell in macOS Catalina. If the screenshots below look a little bit different than what you see on your screen, that’s because I’m using zsh + oh-my-zsh.



1. Open terminal and run: /bin/bash -c "$(curl -fsSL"

Authenticate when prompted to.

2. Be patient, after a minute or so, Homebrew will be installed on your Mac.

3. However, if you run brew you’ll get…

4. That’s because you have to add Homebrew to your path. To do that, you’ll have to edit your .zshrc file and add the following at the bottom.

export PATH=/opt/homebrew/bin:$PATH
export PATH=/opt/homebrew/sbin:$PATH

NOTE: you can edit from the terminal by running vim .zshrc or with a file editor. However the file is hidden. Learn how to toggle visibility of hidden files in macOS.

5. Install cask with brew install cask. Packages available in homebrew are not usually for the average home user. You will need/want cask to take full advantage of homebrew.

6. That’s it you’re done!



According to Homebrew’s Anonymous Aggregate User Behaviour Analytics, Homebrew gathers anonymous aggregate user behaviour analytics and reporting these to Google Analytics.

To opt out of Homebrew’s analytics, run brew analytics off. To check if analytics are disabled run brew analytics .

To update Homebrew, run brew update. To update outdated packages run brew upgrade.

NOTE: To avoid typing the above commands over and over I suggest creating an alias ( i.e bup="brew update && brew upgrade" )



To search for an app use brew search name. To install an app use brew install name or brew install --cask name. To uninstall use brew uninstall name or brew uninstall --cask name.

See more options by running brew --help

That’s pretty much it. Homebrew is useful, fun and fast. If you’re not using it yet, give it a try



We don't think that using an adblocker = piracy. That's simply not true. We use and recommend uBlock Origin.

However, as a small non-corporate website, we would appreciate it if you'd consider whitelisting FSM in your adblock of choice.

Alternatively, consider donating using the options below....

Monero (XMR) 43GnqUNJrTi9QyL7kEH8vM8pgWGCE6bjv1FSRipeNMM4TTeNnUVsRBb6MfMpQYxtLE7ReonxVVSXz2rFCEdW5H11LC3x73b
Bitcoin (BTC) 1Hfuq77gKKFJeNcq4EP4dQK3yDRWrFEwJR
Bitcoin Cash (BCH) qzmdm6e6q5wf2p6sxz2mst7cenz60newwc5m4e9js8
Ether (ETH) 0x5f02869278C24A6579d3820f52AD15936D6F9d69
More content?  
Ads Blocker Image Powered by Code Help Pro

Congrats on using an adblocker. We mean it.

Please support us by disabling your AdBlocker or whitelist us.

Thank you! ❤️