How to Opt Out / Disable Homebrew Analytics

Jun 25, 2023 - 4 Comments

Homebrew for Mac

Homebrew is a fantastic package manager for the command line on Mac, but something that is perhaps less fantastic for some individuals is that Homebrew defaults to enabling ‘analytics’, which means your Mac will transmit data from your Mac to Homebrew about Homebrew usage. No thanks!

The Homebrew analytics include everything from user agent, Google Analytics version and other information, and a Homebrew analytics tracking ID and user ID. The data is said to be anonymous, but as we all know about metadata, “anonymous” is relative, and perhaps not so anonymous after all. So if you are a Homebrew user, you may be interested in disabling the analytics feature, which is turned on by default on every Homebrew installation.

How to Disable Homebrew Analytics

After successfully installing Homebrew on the Mac, run the following command to disable Homebrew analytics:

brew analytics off

There’s no confirmation or feedback from the command, but if you type “brew analytics” you should now see a message stating “Analytics are disabled.”

And that’s it, you’ve now disabled the analytics feature of Homebrew. If you ever want to turn it back on for some reason, you can simply run “brew analytics on” and you’ll be sending that data to Homebrew again.

Homebrew is a fantastic tool for advanced users and command line enthusiasts, and if you’re new to exploring Homebrew you might want to check out this excellent collection of Homebrew packages to install on a Mac, or browse through our Homebrew archives here.


Related articles:

Posted by: Paul Horowitz in Command Line, Mac OS, Tips & Tricks


» Comments RSS Feed

  1. Damon says:

    Agreed. Unfortunately we now live in a world where surveillance has been normalised. Google and Facebook popularised the (self-serving) myth that their “users” were happy and willing to trade their privacy for free use of their services. Now everyone is in on it. Note (like Homebrew) they never ask the question in plain English: “Do you consent to having every activity you perform on our service surveilled?” That really says all one needs to know about this bargain.

  2. Carla A says:

    what is the justification for slipping something like this in without making it clear it’s included? i’ve been using Homebrew for years and never had any clue about this.

    there should be a prompt while installing that alerts the user to these analytics, asking them to opt-in to usage tracking.

    this is SO scummy and gross.

  3. Jeff says:

    Great tip, I had no idea this phoned home. No more!

    # brew analytics
    InfluxDB analytics are disabled.
    Google Analytics were destroyed.

Leave a Reply


Shop on and help support OSXDaily!

Subscribe to OSXDaily

Subscribe to RSS Subscribe to Twitter Feed Follow on Facebook Subscribe to eMail Updates

Tips & Tricks


iPhone / iPad



Shop on Amazon to help support this site