How to Install Brew on Mac: Your Essential Guide to a Powerful Package Manager
How to Install Brew on Mac: Your Essential Guide to a Powerful Package Manager
When I first started dabbling in more advanced software development on my Mac, I remember feeling a bit overwhelmed. I’d hear seasoned developers casually mention commands like `git clone` or `npm install`, and I’d think, “How are they getting all these tools so easily?” My Mac, while a fantastic machine, wasn’t pre-loaded with everything I needed, and manually downloading and configuring each piece of software felt like a tedious chore. That’s precisely when a fellow developer introduced me to Homebrew, or “brew” as it’s commonly called. It was a game-changer. Suddenly, installing, updating, and managing a vast array of command-line tools and applications became a breeze. If you’re in a similar boat, wondering how to get these powerful utilities onto your Mac without the usual download-and-drag hassle, you’ve come to the right place. This article will guide you step-by-step on how to install brew on your Mac, and more importantly, why it’s an indispensable tool for any Mac user looking to streamline their software management.
What is Homebrew (Brew) and Why Should You Care?
At its core, Homebrew is a free and open-source package manager for macOS. Think of it as an app store, but specifically for command-line tools and many graphical applications that you might typically download from websites. Instead of navigating to countless download pages, deciphering installation instructions, and manually managing dependencies, Homebrew automates the entire process. It’s like having a personal assistant who fetches, installs, and keeps your software up-to-date with simple commands.
Why is this so important, you might ask? Well, for developers, it’s practically a necessity. Many programming languages, libraries, and development tools aren’t natively available on macOS. Homebrew makes it incredibly easy to install things like:
- Programming Languages: Python, Node.js, Ruby, Go, Rust, etc.
- Databases: PostgreSQL, MySQL, MongoDB, Redis, etc.
- Development Tools: Git, Docker, nvm (Node Version Manager), rbenv (Ruby Version Manager), wget, curl, imagemagick, etc.
- Command-line utilities: jq (JSON processor), htop (process viewer), tree (directory listing), and countless others that enhance your terminal experience.
But it’s not just for developers! Even if you’re not writing code, Homebrew can be incredibly useful. You might want to install a specialized command-line tool for managing files, a robust image manipulation library, or even graphical applications that aren’t available on the Mac App Store. Homebrew simplifies all of it. It manages dependencies, meaning if you install software that needs other specific pieces of software to run, Homebrew will automatically fetch and install those too. This prevents those frustrating “missing library” errors that can plague manual installations.
My own journey with Homebrew really solidified its value when I was working on a project that required a specific version of Python and a particular database. Instead of spending hours piecing it together, I fired up my terminal, typed `brew install [email protected]` and `brew install postgresql`, and within minutes, everything was installed, configured, and ready to go. The time saved and the frustration avoided were immense. It truly liberates you from the manual drudgery of software installation.
Prerequisites for Installing Brew on Mac
Before we dive into the actual installation process, it’s important to ensure your Mac is ready. Thankfully, the prerequisites are quite minimal, making it accessible for most Mac users.
1. A Mac Running macOS
This might seem obvious, but Homebrew is specifically designed for macOS and Linux. If you’re on a different operating system, you’ll need to look for the equivalent package manager for that platform (e.g., Chocolatey or winget for Windows).
2. Administrator Privileges
You’ll need to be able to install software on your system. This means you’ll likely need to enter your administrator password during the installation process. If you’re using a work or school Mac, you might need to check with your IT department if installing new software is permitted.
3. Internet Connection
Homebrew downloads software packages and their dependencies from the internet. A stable internet connection is, therefore, essential for a smooth installation and for using Homebrew to install other software later on.
4. The Command Line Tools (CLT) for Xcode
This is the most crucial prerequisite. Homebrew relies on certain developer tools that are part of Apple’s Command Line Tools for Xcode. These tools provide essential compilers, build tools, and other utilities that Homebrew needs to compile and install software. Without them, Homebrew simply won’t function correctly. The good news is that you don’t need to install the full Xcode application (which is a massive download) if you don’t plan on doing iOS or macOS app development. You only need the command-line tools.
How to Check if You Have the Command Line Tools Installed:
The easiest way to check is to open your Terminal application. You can find Terminal in your `Applications/Utilities` folder, or by searching for it using Spotlight (Command + Spacebar, then type “Terminal”). Once Terminal is open, type the following command and press Enter:
xcode-select --version
If the Command Line Tools are installed, you’ll see output similar to this:
xcode-select version 2399
The exact version number will vary. If you get an error message like:
xcode-select: error: unable to get active developer directory, use 'sudo xcode-select --switch path/to/Xcode.app' to set one (or see `man xcode-select`)
Or simply, no output at all, it means the tools are not installed or not properly configured. Don’t worry, installing them is straightforward.
5. Installing the Command Line Tools if They Are Missing
If the `xcode-select –version` command indicated that the tools are missing, you can install them by simply trying to use a command that requires them, such as `git`. When you do this, macOS will usually prompt you to install the necessary components. Alternatively, you can run the following command in your Terminal:
xcode-select --install
A dialog box will appear, asking if you want to install the software. Click “Install” and agree to the license terms. You’ll then need to enter your administrator password. The download and installation process will begin. This usually takes a few minutes, depending on your internet speed.
Note: If you already have the full Xcode application installed from the Mac App Store, the Command Line Tools are typically included, so you likely won’t need to perform this step.
The Official Homebrew Installation Process
Once you’ve confirmed that your Mac meets the prerequisites, particularly having the Command Line Tools installed, you’re ready to install Homebrew itself. The official Homebrew website is always the best place to get the most current installation command. It’s a good practice to always visit brew.sh to get the latest instructions.
However, the installation command has been remarkably stable for a long time. Here’s the standard command you’ll use, along with a detailed breakdown of what’s happening:
Step 1: Open Your Terminal
As mentioned before, open your Terminal application. You can find it in `Applications/Utilities` or by using Spotlight Search.
Step 2: Copy and Paste the Installation Command
Go to brew.sh and copy the command displayed under the “Install Homebrew” section. It will look something like this:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
Paste this entire command into your Terminal window and press Enter.
Step 3: Understand What the Command Does
Let’s break down this command:
/bin/bash -c "...": This tells your system to execute the commands enclosed within the double quotes using the Bash shell.$(...): This is command substitution. It means the output of the command inside the parentheses will be substituted into the main command.curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh: This is where the magic begins.curl: A command-line tool for transferring data with URLs.-f: Fail silently (no output on HTTP errors).-s: Silent or quiet mode. Don’t show progress meter or error messages.-S: Show error messages even if silent mode is enabled.-L: Follow redirects. If the URL points to another location, curl will follow it.https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh: This is the URL pointing to the official Homebrew installation script hosted on GitHub.
So, in essence, this command downloads the official Homebrew installation script from GitHub and then immediately executes it using Bash.
Step 4: Follow the On-Screen Prompts
Once you press Enter, the script will begin. It will first print out a message explaining what it’s about to do, including the directories it will install Homebrew into and the permissions it will request. It will then ask you to confirm if you want to proceed.
You’ll typically see something like this:
==> Checking for `sudo` access and installing Homebrew...
Password:
==> This script will install:
/usr/local/bin/brew
/usr/local/share/doc/homebrew
/usr/local/share/man/man1/brew.1
... (and other files and directories)
Press RETURN to continue or any other key to abort
Press the **Return (Enter)** key to continue. You will then be prompted to enter your administrator password. Type it in (you won’t see any characters appear on the screen as you type, this is normal for security reasons) and press Enter again.
The script will then proceed to download and install Homebrew. This process can take a few minutes, as it’s downloading the necessary files and setting up the directory structure. You’ll see a lot of output scrolling in your Terminal window as it progresses.
Step 5: Post-Installation Instructions
After the installation is complete, the script will usually provide some important post-installation instructions. Pay close attention to these. Often, it will tell you to add Homebrew to your system’s PATH. This is crucial because it allows your system to find the `brew` command from anywhere in the terminal.
You might see output like:
==> Next steps:
- Add Homebrew to your PATH in these shell configuration files:
/Users/yourusername/.zprofile
or
/Users/yourusername/.zshrc:
echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> /Users/yourusername/.zprofile
eval "$(/opt/homebrew/bin/brew shellenv)"
- Run `brew help` to get started
Important Note on Installation Location:
Historically, Homebrew installed itself in `/usr/local/`. However, on Apple Silicon Macs (M1, M2, M3 chips, etc.), Homebrew installs in `/opt/homebrew/` by default. This is a significant change and affects how you add it to your PATH. The installation script should detect your architecture and provide the correct instructions.
Adding Homebrew to your PATH:
The script will usually provide the exact commands to add Homebrew to your PATH. For modern macOS versions using Zsh as the default shell, this typically involves adding a line to your `~/.zprofile` or `~/.zshrc` file. The most common and recommended way is to run the command the script suggests:
For Apple Silicon Macs (M1, M2, etc.):
echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> ~/.zprofile
Then, you need to reload your shell configuration for the changes to take effect immediately:
eval "$(/opt/homebrew/bin/brew shellenv)"
For Intel Macs:
If you’re on an older Intel Mac or if Homebrew installed in the traditional location, the command might be slightly different:
echo 'eval "$(/usr/local/bin/brew shellenv)"' >> ~/.zprofile
And then:
eval "$(/usr/local/bin/brew shellenv)"Why is adding to PATH so important? If Homebrew is not in your PATH, you would have to type the full path to the `brew` executable every time you want to use it, like `/opt/homebrew/bin/brew install somepackage`. By adding it to your PATH, you can simply type `brew install somepackage`, which is much more convenient.
Step 6: Verify the Installation
To ensure Homebrew is installed correctly and accessible, run the following command:
brew --versionThis should output the installed version of Homebrew. If you see a version number, congratulations! You have successfully installed Homebrew on your Mac.
You can also run:
brew doctorThis command checks your system for any potential problems or configuration issues that might affect Homebrew. It’s an excellent way to ensure everything is set up correctly and will provide helpful suggestions if any issues are found.
Using Homebrew: The Basics
Now that you’ve got Homebrew installed, let’s cover some fundamental commands to get you started. Homebrew’s syntax is generally intuitive.
Installing Packages
This is what you’ll do most often. To install a package (also known as a "formula" in Homebrew terminology), use the `install` command:
brew installFor example, to install `wget`, a powerful command-line utility for downloading files:
brew install wgetHomebrew will find the latest stable version of `wget`, download it, compile it if necessary, and install it along with any required dependencies.
Searching for Packages
Not sure if Homebrew has the tool you need, or what its exact name is? Use the `search` command:
brew searchFor instance, if you’re looking for a command-line JSON processor:
brew search jsonThis will list all formulas that contain "json" in their name or description.
Updating Homebrew and Packages
It’s good practice to keep Homebrew itself and your installed packages up-to-date. There are two key commands here:
1. Updating Homebrew’s Formula Definitions:
This command fetches the latest list of available packages and their versions from the Homebrew repositories.
brew updateYou should run this command regularly, especially before installing new packages, to ensure you’re getting the latest versions.
2. Upgrading Installed Packages:
After updating the formula definitions, you can upgrade all your installed packages to their latest available versions:
brew upgradeIf you only want to upgrade a specific package:
brew upgradeRunning `brew upgrade` is generally safe, but it’s always a good idea to check the release notes of major software if you rely on specific features that might change.
Uninstalling Packages
If you no longer need a package, you can remove it using the `uninstall` command:
brew uninstallFor example:
brew uninstall wgetListing Installed Packages
To see a list of all the packages you’ve installed via Homebrew:
brew listCleaning Up Unused Packages and Downloads
Homebrew keeps older versions of packages and downloaded archives (called "cache") to speed up reinstallation or rollbacks. Over time, this can consume disk space. You can clean these up:
- To remove outdated packages and old downloads:
brew cleanup - To remove all downloads in the cache (even those for installed packages):
brew cleanup -s
Running `brew cleanup` periodically is a good way to free up disk space.
Homebrew Casks: Installing GUI Applications
One of the most powerful extensions of Homebrew is Homebrew Cask. While the core `brew` command is primarily for command-line tools, Homebrew Cask allows you to install and manage graphical applications (GUI apps) just as easily.
Think of applications like Google Chrome, Visual Studio Code, VLC Media Player, GIMP, or Slack. Traditionally, you’d download a `.dmg` file, drag the application to your Applications folder, and then manually manage updates. With Homebrew Cask, you can do all of this from the Terminal.
Installing Homebrew Cask
Homebrew Cask is now a built-in part of Homebrew. When you install Homebrew using the standard method described earlier, Homebrew Cask is typically installed automatically with it. You can verify if it's installed by running:
brew --cask list
If it’s installed, you won’t get an error. If, for some reason, you didn’t get it, you can install it separately:
brew tap caskroom/cask
Followed by:
brew install brew-cask
However, as mentioned, this is rarely necessary nowadays.
Installing GUI Applications with Brew Cask
The syntax for installing GUI applications is very similar to installing command-line tools, but you use `brew install --cask`:
brew install --cask
For example, to install Google Chrome:
brew install --cask google-chrome
To install VLC Media Player:
brew install --cask vlc
Updating GUI Applications with Brew Cask
To update all your installed Casks:
brew upgrade --cask
You can also update a specific application:
brew upgrade --cask
Uninstalling GUI Applications with Brew Cask
To remove a GUI application installed via Homebrew Cask:
brew uninstall --cask
For example:
brew uninstall --cask google-chrome
This command not only removes the application itself but also any associated configuration files or data that Homebrew Cask manages, ensuring a clean removal.
Searching for GUI Applications
Similar to searching for formulas, you can search for Casks:
brew search --cask
For example, to find available code editors:
brew search --cask editor
Homebrew Cask significantly streamlines the management of your everyday applications, making it a joy to keep your software tidy and up-to-date.
Troubleshooting Common Installation Issues
While Homebrew’s installation is generally smooth, you might occasionally run into problems. Here are some common issues and their solutions.
Issue: `xcode-select: error: command line tools are required`
Explanation: This is the most common issue. It means the Command Line Tools for Xcode are not installed or not properly linked. Homebrew absolutely needs these tools to build and install software.
Solution: Follow the steps outlined earlier in the "Installing the Command Line Tools if They Are Missing" section: run `xcode-select --install` in your Terminal and follow the prompts. Ensure you complete the installation and agree to the license. After installation, it’s a good idea to run `xcode-select --version` again to confirm it’s working.
Issue: Homebrew commands (like `brew install`) are not found after installation.
Explanation: This usually means Homebrew’s `bin` directory is not in your system's PATH environment variable. Your shell doesn’t know where to look for the `brew` executable.
Solution:
- Identify your shell: Run `echo $SHELL`. If it ends with `/zsh`, you’re using Zsh (default on modern macOS). If it ends with `/bash`, you’re using Bash.
- Determine Homebrew’s installation prefix: On Apple Silicon Macs, it’s `/opt/homebrew`. On Intel Macs, it’s typically `/usr/local`.
- Edit your shell configuration file:
- For Zsh: Edit `~/.zprofile` or `~/.zshrc`. The `brew install` script usually recommends `~/.zprofile`.
- For Bash: Edit `~/.bash_profile` or `~/.bashrc`.
You can use a text editor like `nano` in the terminal:
nano ~/.zprofile # Or ~/.zshrc, ~/.bash_profile, etc.Add the following line, adapting the path if necessary:
eval "$(/opt/homebrew/bin/brew shellenv)" # For Apple Silicon # OR eval "$(/usr/local/bin/brew shellenv)" # For Intel MacsSave the file (Ctrl+O, Enter) and exit nano (Ctrl+X).
- Reload your shell configuration: Run `source ~/.zprofile` (or the file you edited) or simply close and reopen your Terminal window.
After these steps, `brew --version` should work.
Issue: `brew doctor` reports issues.
Explanation: `brew doctor` is a diagnostic tool. It checks for common problems like broken symbolic links, incorrect permissions, or conflicting installations.
Solution: Read the output of `brew doctor` carefully. It provides specific instructions on how to fix each reported issue. Often, it might suggest running `brew doctor --fix` or provide commands to repair permissions or relink formulas. Follow its advice precisely.
Issue: Slow installation or download failures.
Explanation: This can be due to a slow or unstable internet connection, or temporary issues with GitHub servers where Homebrew downloads its files from.
Solution:
- Check your internet connection: Ensure you have a stable connection.
- Try again later: If it’s a server-side issue, waiting a bit and trying again often resolves the problem.
- Use a wired connection: If possible, switch to an Ethernet connection for more stability.
- Check GitHub Status: Sometimes, GitHub itself experiences outages.
Issue: Permissions errors during installation or updates.
Explanation: Homebrew needs to write to specific directories (e.g., `/opt/homebrew` or `/usr/local`). If your user doesn’t have the correct write permissions, you’ll encounter errors.
Solution:
- Run `brew doctor`: This tool often identifies permission issues.
- Use `sudo` cautiously: While the `brew doctor` command often suggests using `sudo` for specific fixes, it's generally best to avoid running `brew` commands with `sudo` unless explicitly instructed by Homebrew’s documentation or `brew doctor`. Homebrew is designed to work with user permissions.
- Check directory ownership: For `/opt/homebrew` (on Apple Silicon), ensure your user owns the directory. You can check with `ls -ld /opt/homebrew`. If not, you might need to use `sudo chown -R $(whoami) /opt/homebrew`. (Again, use with caution). For `/usr/local` on Intel Macs, permissions can be trickier and `brew doctor` is your best guide.
Issue: A formula is not installing correctly or is outdated.
Explanation: Sometimes, a specific version of a formula might have bugs, or you might want a newer version that hasn't been released on Homebrew yet.
Solution:
- Run `brew update` and `brew upgrade`: Ensure you have the latest formula definitions and that the package itself is up-to-date.
- Check the formula’s GitHub repository: Homebrew formulas are just scripts. You can find them on GitHub. Look for issues related to the formula or submit your own.
- Consider installing a specific version: For some software, you can install older versions. For example:
brew install [email protected](Note that not all software supports versioned installations this way).
- Tap a different repository: For bleeding-edge versions or less common software, you might need to "tap" into another Homebrew repository (e.g., `brew tap user/repo`).
Frequently Asked Questions About Installing Brew on Mac
How do I install brew on Mac if I have an M1/M2/M3 Apple Silicon Mac?
The installation process for Homebrew on Apple Silicon Macs is very similar to Intel Macs, with one key difference: the installation directory. Homebrew installs itself into `/opt/homebrew/` on Apple Silicon by default, rather than `/usr/local/` on Intel Macs.
You should still use the official installation command from brew.sh, which looks like this:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
During the installation, it will detect your Apple Silicon architecture and install Homebrew in the correct location. Crucially, the post-installation steps will tell you to add the Homebrew executable to your PATH by modifying your `~/.zprofile` file with a command like:
echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> ~/.zprofile
And then reloading your shell environment with:
eval "$(/opt/homebrew/bin/brew shellenv)"Ensure you follow these specific instructions provided by the installer script for Apple Silicon Macs.
What is the difference between `brew install` and `brew install --cask`?
This distinction is fundamental to understanding Homebrew's capabilities. The primary `brew install` command is designed for installing command-line tools, libraries, and developer utilities. These are typically compiled from source code or downloaded as pre-compiled binaries that run in your terminal environment.
On the other hand, `brew install --cask` is used for installing graphical user interface (GUI) applications. These are the everyday applications you use with a mouse and keyboard, like web browsers, text editors, media players, and productivity software. Homebrew Cask handles downloading the application bundles (often `.dmg` or `.pkg` files), moving them to your Applications folder, and managing their updates and uninstallation. It’s essentially a way to manage your GUI applications using the same command-line-centric workflow you use for development tools.
Why do I need to add Homebrew to my PATH after installation?
Your system's PATH environment variable is a list of directories where the operating system looks for executable commands. When you type a command like `brew` into your Terminal, your shell searches through each directory in the PATH to find an executable file with that name. If the directory containing the `brew` command (which is usually `/opt/homebrew/bin` on Apple Silicon or `/usr/local/bin` on Intel Macs) is not in your PATH, your shell won't find it, and you'll get a "command not found" error.
By adding Homebrew's `bin` directory to your PATH, you’re telling your shell to look in that location for commands. This allows you to simply type `brew` instead of the full path, like `/opt/homebrew/bin/brew`, making it much more convenient to use Homebrew and all the packages you install with it.
Is it safe to install Homebrew on my Mac?
Yes, Homebrew is widely regarded as safe and is a standard tool used by millions of developers and power users worldwide. The installation script is open-source and hosted on GitHub, meaning its code is publicly auditable. It installs software from trusted sources (often official project repositories or their mirrors).
However, as with any software installation, especially those involving command-line tools and system-level changes, it’s wise to exercise caution:
- Always use the official installation command from brew.sh: Avoid copying installation scripts from unofficial sources.
- Understand what you’re installing: When you use `brew install somepackage`, be aware of what `somepackage` is and where it comes from.
- Run `brew doctor` periodically: This helps identify any potential issues or conflicts.
- Be mindful of permissions: While Homebrew is designed to be used without `sudo` for most operations, incorrect permissions can sometimes cause problems. Follow `brew doctor`’s advice carefully.
In general, if you’re installing Homebrew on your personal Mac and sticking to well-known packages, it is perfectly safe.
What happens if I uninstall Homebrew?
Uninstalling Homebrew is also straightforward, though it's not something most users need to do often. The primary reason for uninstalling might be to free up disk space, resolve deep conflicts, or if you no longer need its functionality. Homebrew provides an uninstall script.
To uninstall Homebrew, you would typically run:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/uninstall.sh)"
This script will remove Homebrew’s core files and directories. It will also prompt you to confirm the action and might ask about removing your installed packages. It's important to note that uninstalling Homebrew does not automatically uninstall the packages you installed using it. You would typically need to uninstall each package individually *before* running the main Homebrew uninstall script, or you would have to manually delete the installed software from its respective locations.
For example, before uninstalling Homebrew, you might want to run:
brew uninstall --all
And then proceed with the Homebrew uninstall script. This ensures that all the software managed by Homebrew is removed cleanly.
Can I install multiple versions of the same software using brew?
Homebrew's primary design is to install one version of a formula at a time, usually the latest stable release. However, for some popular software like Python, Node.js, or Ruby, Homebrew provides versioned formulas. For instance, you can install specific Python versions like `[email protected]`, `[email protected]`, or `[email protected]` alongside each other.
To manage different versions of languages like Node.js or Ruby, it’s often better to use dedicated version managers like `nvm` (Node Version Manager) or `rbenv` (Ruby Version Manager), which can also be installed via Homebrew. These tools are specifically built for handling multiple versions of a language and switching between them easily.
For Casks, you generally cannot install multiple versions of the same application simultaneously. For example, you can only have one version of Google Chrome installed via Homebrew Cask at a time.
What is `brew tap` and when should I use it?
`brew tap` is a command that allows you to integrate external repositories, known as "taps," into Homebrew. Homebrew itself is organized into a main repository. However, there are many community-maintained repositories that host additional formulas and casks not included in the core Homebrew distribution. This is how Homebrew extends its reach to support a vast array of software.
You would use `brew tap` when you need to install software that isn't available in the default Homebrew repositories. For example, if you wanted to install a specific developer tool that a community group maintains, they might provide instructions like:
brew tap someuser/somerepo
This command essentially clones the specified GitHub repository into Homebrew's `Library/Taps` directory, making the formulas and casks within that repository available for you to install using `brew install` or `brew install --cask`.
It's a powerful feature that allows Homebrew to be highly extensible. Always ensure you trust the source of a tap before adding it, as you are essentially trusting that repository to provide legitimate and safe software.
The Future of Brew on Mac and Beyond
Homebrew continues to evolve, adapting to new macOS features and hardware architectures. Its ongoing development ensures it remains a vital tool for Mac users. The Homebrew team and its community are constantly working to improve performance, expand software availability, and maintain a robust and secure package management system. For anyone looking to efficiently manage their software on macOS, from the command-line grunt work to everyday applications, mastering Homebrew is an investment that pays dividends in saved time and reduced frustration.
Installing brew on your Mac is more than just a technical step; it's an enablement. It opens the door to a world of powerful tools and streamlined workflows that can significantly enhance your productivity and enjoyment of your Mac. So, go ahead, follow the steps, and welcome Homebrew into your toolkit!