Skip to content

Both.org

News, Opinion, Tutorials, and Community for Linux Users and SysAdmins

Primary Menu
  • About Us
  • Computers 101
    • Hardware 101
    • Operating Systems 101
  • Linux
    • Why I use Linux
    • The real reason we use Linux
  • My Linux Books
    • systemd for Linux SysAdmins
    • Using and Administering Linux – Zero to SysAdmin: 2nd Edition
    • The Linux Philosophy for SysAdmins
    • Linux for Small Business Owners
    • Errata
      • Errata for The Linux Philosophy for SysAdmins
      • Errata for Using and Administering Linux — 1st Edition
      • Errata for Using and Administering Linux — 2nd Edition
  • Open Source Resources
    • What is Open Source?
    • What is Linux?
    • What is Open Source Software?
    • The Open Source Way
  • Write for us
    • Submission and Style guide
    • Advertising statement
  • Downloads
  • Home
  • Unleashing the power of Homebrew on MacOS
  • macOS
  • Open Source Software

Unleashing the power of Homebrew on MacOS

Homebrew at your side, your M2 MacBook Air bridges the walled garden and the wild plains of open source.
Don Watkins January 31, 2024 3 minutes read
Graph paper with the word open written in many fonts

Image by: Opensource.com CC-by-SA 4.0

For a techno-nerd like me, acquiring an M2 MacBook Air isn’t just a purchase, it’s an ascension. It’s the techie equivalent of finding a mythical unicorn, except this unicorn runs macOS and has killer battery life. The M2 Air may be my trusty steed, but my heart truly lies in the open-source path. How can I have the best of both worlds? Enter Homebrew – a powerful package manager for MacOS that simplifies installing, updating, and managing open-source software on MacOS. Homebrew is a game-changer for MacOS users, providing a step-by-step guide on installing and harnessing its capabilities.

Why Homebrew?

  1. Package Management Made Easy: Homebrew is designed to make package management on MacOS a breeze. With a simple command-line interface, users can install, update, and uninstall packages effortlessly. This streamlines the process and ensures that software dependencies are managed efficiently.
  2. Community-Driven:  Homebrew thrives on community contributions, welcoming anyone to add packages, improve code, or suggest enhancements.
  3. Dependency Management: Managing dependencies manually can be a daunting task, especially when dealing with complex software projects. Homebrew takes care of dependency resolution, ensuring that the required libraries and components are installed automatically, simplifying the overall development and system maintenance process.

Installing Homebrew on MacOS:

Now that we’ve highlighted the advantages of using Homebrew, let’s walk through the installation process on your MacOS system.

Open Terminal:

Launch the Terminal on your MacOS system. You can find it in the Applications > Utilities folder, or use Spotlight search to locate it quickly. Be sure that ‘xcode’ is installed on your MacOS system. Enter the following in your terminal:

%  xcode-select --install

Install Homebrew:

Copy and paste the following command into your Terminal and press Enter:

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

This command initiates the Homebrew installation process.

Follow On-Screen Prompts:

The installation script will guide you through the process. Follow the on-screen prompts, and you may be required to enter your system password to proceed with the installation.

Verify Installation:

Once the installation is complete, you can verify it by running the following command:

% brew --version

With Homebrew successfully installed, you can now leverage its capabilities to manage and install packages. Here are a few basic commands to get you started:

%  xcode-select --install
Image by Don Watkins CC by SA 4.0

Search for packages available on Homebrew with:

% brew search inkscape

Install packages easily with:

% brew install inkscape

List the packages on your system with:

% brew list
Image by Don Watkins CC by SA 4.0

It’s easy to update Homebrew with the following command:

% brew update

This updates Homebrew itself but you’ll probably want to upgrade the open-source packages you’ve installed on your MacOS system, and Homebrew provides an easy way to do that by entering the following command:

% brew upgrade 

From here, the world is your oyster. Search for packages, install them with a single command, list your software inventory, and update everything effortlessly. Homebrew transforms your M2 Air from a polished Apple device into a versatile open-source powerhouse, letting you tap into the boundless potential of this vibrant community.

So, why settle for one world when you can embrace both? With Homebrew at your side, your M2 MacBook Air bridges the walled garden and the wild plains of open source. The future is bright, techno nerds and the possibilities are endless. Let’s explore, create, and innovate one command at a time.

Tags: Homebrew MacOS Package Management

Post navigation

Previous: The best 3 cross-platform text editors
Next: You don’t need a computer science degree to work with open source software

Related Stories

puzzle_computer_solve_fix_tool
  • FOSS
  • Linux
  • Moving to Linux
  • Open Source Software

Reasons for Moving to Linux

David Both February 2, 2026
DippingToes_0
  • Getting Started
  • Linux 101
  • Moving to Linux
  • Open Source Software
  • Philosophy

Begin the Journey: Finding a practical starting point with Free Open Source Software

Denny Henke August 13, 2025
myopensourcestory
  • Linux
  • Open Source Software
  • Opinion
  • Philosophy

Begin the journey: Why your ethics might require adoption of Free and Open Source Software

Denny Henke August 8, 2025

Random Quote

If a program is useless, it will have to be documented.

— Laws of Computer Programming

Why I’ve Never Used Windows

On February 12 I gave a presentation at the Triangle Linux Users Group (TriLUG) about why I use Linux and why I’ve never used Windows.

Here’s the link to the video: https://www.youtube.com/live/uCK_haOXPFM 

Why there’s no such thing as AI

Last October at All Things Open (ATO) I was interviewed by Jason Hibbits of We Love Open Source. It’s posted in the article “Why today’s AI isn’t intelligent (yet)“.

Technically We Write — Our Partner Site

Our partner site, Technically We Write, has published a number of articles from several contributors to Both.org. Check them out.

Technically We Write is a community of technical writers, technical editors, copyeditors, web content writers, and all other roles in technical communication.

Subscribe to Both.org

To comment on articles, you must have an account.

Send your desired user ID, first and last name, and an email address for login (this must be the same email address used to register) to subscribe@both.org with “Subscribe” as the subject line.

You’ll receive a confirmation of your subscription with your initial password as soon as we are able to process it.

Administration

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org

License and AI Statements

Both.org aims to publish everything under a Creative Commons Attribution ShareAlike license. Some items may be published under a different license. You are responsible to verify permissions before reusing content from this website.

The opinions expressed are those of the individual authors, not Both.org.

You may not use this content to train AI.

 

Advertising Statement

Both.org does not sell advertising on this website.


Advertising may keep most websites running—but at Both.org, we’re committed to keeping our corner of the web ad-free. Both.org does not sell advertising on the website. Nor do we offer sponsored articles at this time. We’ll update this page if our position on sponsorships changes.

We want to be open about how the website is funded. Both.org is supported entirely by David Both and a few other dedicated individuals.

 

 

Copyright © All rights reserved. | MoreNews by AF themes.