Homebrew 7.0.0

(brew.sh)

124 points | by mikemcquaid 3 hours ago

11 comments

  • mikemcquaid 3 hours ago
    Today, I’m proud to announce Homebrew 7.0.0. The most significant changes since 6.0.0 are faster installations and upgrades, stronger sandboxing, a native macOS app, built-in vulnerability checks and an advisory database, the end of macOS 10.15 support and Intel Macs moving to Tier 3 (announced last year).
    • darkamaul 9 minutes ago
      Silly question - but how do you apply the cooldown to brew itself ?

      I would think this is one of the most critical dependency that you would not want to get right away at let it rest for a couple of days

      • mikemcquaid 4 minutes ago
        You can’t, by design. We instead apply if for you on upstream packages from NPM, PyPi, etc.

        Our model is very different to those where cooldowns exist and make sense. As-is if would just delay security updates too.

    • mikae1 55 minutes ago
      Thank you for Linux Homebrew! It works so damn well.

      For me the distro package manager is for system packages, Homebrew and Flatpak for the user facing apps.

      • curt15 21 minutes ago
        Where do you draw the line between system packages and user facing apps? Some software defies such an easy categorization. If your default install doesn't come with docker and you install docker later for development, does that make docker a user-facing app? What about language toolchains like golang, rust, npm, etc?
        • mikae1 5 minutes ago
          > Where do you draw the line between system packages and user facing apps?

          If it works in Homebrew, I almost always pick Homebrew. :) I have a pretty good feeling for what works since for the past few years I've mostly used an atomic distro (Aurora, based on Universal Blue, based on Fedora). It just comes naturally for me on Fedora too.

          I've found that this way you can get many of the stability pros of using an atomic distro even on a non-atomic one.

    • d3Xt3r 3 hours ago
      Literally just upgraded before seeing this post; I had 31 outdated packages and the first thing I saw was how blazing fast it was! I looked online to see if something changed and saw this post.

      Speed was my biggest complaint about brew, so I'm glad to cross that one off my list of things I don't like about brew.

      Thank you for your hard work BTW, brew's been a lifesaver on macOS and immutable distros.

      • mikemcquaid 3 hours ago
        Glad to hear it. A lot of time and energy has gone into performance work so glad that’s noticeable! Thanks for the kid words too <3
    • lukeify 3 hours ago
      I don't know what I would do without brew on my Macs. Thank you and everyone who contributes!
    • lifty 1 hour ago
      I think at one point you said you’re working on a rust rewrite? Is that still in the cards?
  • Sytten 32 minutes ago
    I found that Mise handles all my needs for development and it is scoped so it doesn't try to update Python and break all my virtual env when I install something new /shrug
    • 9dev 18 minutes ago
      Why would you even use python without uv anymore, and have a system python binary and virtual envs linked to it?
    • hk1337 20 minutes ago
      I split my usage. Homebrew for OS things mise for the various tooling.

      The only problem some things still have a dependency on requiring python and others on the system. The problem being that they’re there, mise works just fine.

    • bodash 5 minutes ago
      my split: brew for casks, mise for tools
  • lrvick 43 minutes ago
    Just remember that brew still must never be installed on a machine you need to be able to trust.

    The supply chain security policy of brew is basically non existent and optimized for low-friction contributions. Think wikipedia. No enforced commit signing, review signing, or multi-party release signing, and thus everything is honor system.

    Do not put brew anywhere near systems that access production or even on systems used to review production-bound code.

  • AbuAssar 55 minutes ago
    the gui homebrew manager is a nice addition!

    it can be installed with:

    brew install homebrew-app

  • roger_ 1 hour ago
    Does installation still require root and a dedicated user account on Linux?

    That really put me off.

    • mikemcquaid 36 minutes ago
      See the release notes: we now have experimental support for using any prefix shorter than the Linux default. We are aiming to eventually fully support (Tier 1) any prefix under 64 bytes long.
    • hk1337 17 minutes ago
      I always download the install script and change the directory to my user home directory, ~/.brew
    • wscott 1 hour ago
      The dedicated user isn't really required; it just expects that /home/linuxbrew/.linuxbrew exists. That can just be a symlink to your home directory. But yes, creating that symlink requires root on most systems. Brew itself doesn't require root or that pathname; you can put packages anywhere, but then many will have to be built from scratch since the pre-built packages don't work. And you need bubblewrap installed (which requires root) to use the sandbox, but again that is optional.

      All that said, when you are running without a sandbox installing to a nonstandard location, not everything works consistently. I run this mode all the time. But it has been getting better.

      • trallnag 1 hour ago
        Bubblewrap is history starting with 7.0.0 according to the release notes
    • dghlsakjg 1 hour ago
      The dedicated user account is optional.

      It uses root once to chown its prefix directory /home/linuxbrew/.linuxbrew

  • basedpolymer 1 hour ago
    And that's the end of Homebrew for me as a user. I like the app, but my old Intel MacBook apparently can't handle it anymore.

    I'm back to the old installation methods !

    • mikae1 1 hour ago
      Actually, Homebrew 7 is supported on your Mac, you just have to install Linux to use it. :)

      If you want to continue using the same MacBook that will be only path forward when Apple decides to EOL it (if it hasn't already happened).

      I'm a long time Homebrew on Linux user, it works really well. I always prefer it over the distro supplied package manager for user facing CLI apps.

    • yladiz 1 hour ago
      How long do you expect them to support Intel processors though? It’s been like 6 years since the last MacBook release had any Intel processor, and Apple doesn’t make OS updates anymore, so it doesn’t surprise me that Homebrew stopped too.
      • watermelon0 5 minutes ago
        Are you implying that a 6 year old hardware is as good as a paperweight? Outside of the Apple fairyland this is just bonkers.

        I'm not blaming the Homebrew project/developers here, but the fact that many people are okay with deprecating perfectly fine hardware.

      • basiliobeltran 1 hour ago
        I have one of the last Intel Macs and works perfectly fine (on Sonoma). How long should I expect working tech being supported?

        I am already looking at Linux, but still need to get out of the Apple ecosystem. I am not going to spend +2500 Euros every 5 years on a laptop

        • lnenad 40 minutes ago
          What does saying "working tech" do for you? If I have a working Samsung CRT from 25 years ago do I ping them about smart TV support? Nowadays it's a shitty situation with planned obsolescence; but 6 years for an open source project dedicating resources to a dead end is more than enough and appreciated.
    • daliusd 54 minutes ago
      Same here, but I understand their position. Meanwhile I rely on packages publishing builds for Intel Mac in GitHub (surprisingly a lot) or building from source code. I just asked AI to build me install system.
    • alex7o 1 hour ago
      Sry but if I had a an intel macbook I would I stall an is that doesn't suck, like Linux for example.
    • Achterlangs 45 minutes ago
      FYI Macos will also stop with major updates for Intel macs. You can just keep using brew 6 on macos 26.
    • wltr 1 hour ago
      Have you tried Mac Ports?
  • asadhaider 1 hour ago
    Awesome, I just checked and had already upgraded at some point. I run the alias command below every now and then which keeps everything up to date.

      alias u="brew update && brew upgrade --greedy -y && brew upgrade --cask -y && brew cleanup"
    • t27dev 14 minutes ago
      [flagged]
  • max979 51 minutes ago
    Time to `brew update && brew upgrade` later today. Always a little nervous, but Homebrew usually makes it painless.
    • inatreecrown2 40 minutes ago
      I have this bound to an alias: bu

      Run it every couple of days, easy peasy.

  • touwer 1 hour ago
    Fantastic, thx for the effort!
  • yard2010 1 hour ago
    Thank you so much for doing this, for years you make me feel like home, or the year 2010. Please don't ever stop!
  • aydgn 1 hour ago
    Farewell, Homebrew. It's been a good run.

    - 2019 Intel iMac user.

    • mikemcquaid 35 minutes ago
      Sorry we couldn’t support this for longer :(

      From the release notes:

      > The Intel support decision reflects the limits of a volunteer-run project: Apple have dropped Intel x86_64 support from macOS 27 Golden Gate and GitHub Actions will retire Intel macOS runners in autumn 2027. If Apple and Microsoft’s GitHub, two of the world’s largest technology companies, cannot continue supporting macOS Intel x86_64, sadly neither can Homebrew. MacPorts still supports macOS Intel x86_64 and is likely to provide better results on this platform.