How to Install Homebrew on an Apple Silicon macOS Computer
Last updated
Was this helpful?
Last updated
Was this helpful?
Homebrew stands as a pivotal package manager for macOS, streamlining the process of software package management and dependency resolution. This guide meticulously outlines the steps to install Homebrew on an Apple Silicon macOS computer, focusing on pre-installation requirements including Xcode Command Line Tools.
If your device is under Red Cup IT management, a streamlined approach for installing both Homebrew and Xcode is available through the Addigy MacManage app. This self-service installation package ensures compatibility and simplifies the installation process. For users looking to install Homebrew or Xcode manually, the subsequent steps provide a comprehensive guide.
Ensure your system is prepared by meeting the following criteria:
An Apple Silicon computer
macOS Monterey (12) or higher.
Bash as the shell for installation.
The Xcode Command Line Tools (CLT) are indispensable, providing essential tools for macOS application development. These tools are a prerequisite for Homebrew, as they include libraries crucial for many Homebrew packages.
To install the Xcode CLT, execute the following in Terminal:
This command triggers a prompt for the installation. If direct installation via terminal is unsuccessful, manual download from the is an alternative.
Xcode is also available via the Self Service portal provided by Red Cup IT's device management solution. This method is recommended for ease of installation and ensuring software compatibility.
Installing Rosetta 2 ensures backward compatibility for packages yet to be updated for Apple Silicon, offering a smoother overall experience.
With the Xcode CLT set up, you're now ready to install Homebrew. Input the following command in Terminal:
The installation script provides detailed instructions and will request your confirmation before proceeding.
Integrate Homebrew into your system's PATH
to facilitate seamless access to its commands:
For zsh (the default shell for newer macOS versions), append the following to your ~/.zshrc
file:
Activate the changes by sourcing your profile:
Confirm the successful installation and readiness of Homebrew by running:
This command diagnoses your setup, ensuring Homebrew is primed for use.
You have now equipped your Apple Silicon macOS computer with Homebrew, enhancing your software management capabilities. For devices managed by Red Cup IT, remember to utilize the Addigy MacManage app for an optimized installation experience of both Homebrew and Xcode.
Keep up-to-date with the Red Cup IT Blog for further insights, tips, and guides in the realm of technology.