Homebrew installs the command-line tools and apps that macOS doesn't include, each with one Terminal command. Setting it up takes a command from its website, your Mac's password and a few minutes, and Homebrew downloads Apple's Command Line Tools for you if your Mac doesn't have them.
We installed Homebrew on a MacBook Pro running macOS 27. Homebrew supports macOS Sequoia 15 and newer, and its installer asks for your password, so use an administrator account.
Install Brew on macOS From Terminal
Step One: Copy the Install Command
Go to brew.sh and click the copy button next to the command under Install Homebrew:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

Step Two: Open Terminal
Click Spotlight in the menu bar, type Terminal and press Return.

Step Three: Run the Command
Paste the command into Terminal with Command-V and press Return.

Step Four: Enter Your Password
Type your Mac's password when you see Password: and press Return. Terminal doesn't show the password as you type it.

Step Five: Confirm the Install
The installer lists the folders it will create in /opt/homebrew and, if your Mac doesn't have them, says it will install the Xcode Command Line Tools. Press Return to continue.

Step Six: Wait for the Install
Homebrew downloads and installs the Command Line Tools first, if they're missing, then itself. On our Mac the whole install took about two minutes.

Step Seven: Add Homebrew to Your PATH
When you see Installation successful!, run the three commands listed under Next steps one at a time. They add Homebrew to your PATH, so Terminal can find the brew command. On a Mac with Apple silicon they are:
echo >> ~/.zprofile
echo 'eval "$(/opt/homebrew/bin/brew shellenv zsh)"' >> ~/.zprofile
eval "$(/opt/homebrew/bin/brew shellenv zsh)"

Step Eight: Check Homebrew
Type brew doctor and press Return. Your system is ready to brew. means Homebrew is set up.

Step Nine: Install a Package
Type brew install followed by a package's name and press Return, for example brew install wget. When Homebrew lists other packages it needs and asks Do you want to proceed with the installation? [y/n], type y and press Return.
![brew install wget listing 7 dependencies and asking Do you want to proceed with the installation? [y/n]](/images/tutorials/83695/487425/487425-640.png)

Search, Update and Remove Packages
brew search finds a package by name, brew list shows what you've installed, brew update fetches the latest Homebrew and its package list, brew upgrade updates your packages and brew uninstall removes one. Homebrew also installs Mac apps, which it calls casks, the same way: brew install firefox, for example. To install Telnet, see our Telnet tutorial.
Uninstall Homebrew
To remove Homebrew, run its uninstall script in Terminal:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/uninstall.sh)"![How To Install Homebrew on Mac [Video] How To Install Homebrew on Mac [Video]](/images/tutorials/83695/404899/404899-64.png)


![Calif Demonstrates iPhone Duo Jailbreak on Launch Day [Video] Calif Demonstrates iPhone Duo Jailbreak on Launch Day [Video]](/images/news/103008/103008/103008-160.jpg)

![iPhone Duo Launches in Stores Worldwide [Photos] iPhone Duo Launches in Stores Worldwide [Photos]](/images/news/102993/102993/102993-160.jpg)

![How To Back Up Your iPhone to an External Drive on Mac [Video] How To Back Up Your iPhone to an External Drive on Mac [Video]](/images/tutorials/72786/72786/72786-160.jpg)

![How To Find Your IP Address on iPhone [Video] How To Find Your IP Address on iPhone [Video]](/images/tutorials/496/496/496-160.jpg)

![New Fire TV Stick 4K Drops to $29.99 (50% Off) [Deal] New Fire TV Stick 4K Drops to $29.99 (50% Off) [Deal]](/images/news/102984/102984/102984-160.jpg)
![Apple's iPhone 18 Pro and Pro Max Cases Are Up to 37% Off [Deal] Apple's iPhone 18 Pro and Pro Max Cases Are Up to 37% Off [Deal]](/images/news/102978/102978/102978-160.jpg)
![16-Inch MacBook Pro With M5 Pro Drops to $2,429 ($570 Off), Lowest Price We've Seen [Deal] 16-Inch MacBook Pro With M5 Pro Drops to $2,429 ($570 Off), Lowest Price We've Seen [Deal]](/images/news/102957/102957/102957-160.jpg)

![16-Inch MacBook Pro With M5 Max Drops to $3,499 ($900 Off), Lowest Price We've Seen [Deal] 16-Inch MacBook Pro With M5 Max Drops to $3,499 ($900 Off), Lowest Price We've Seen [Deal]](/images/news/102900/102900/102900-160.jpg)