Top
Best
New

Posted by mikemcquaid 9 hours ago

Show HN: Homebrew 6.0.0(brew.sh)
Today, I’m proud to announce Homebrew 6.0.0. The most significant changes since 5.1.0 are a new tap trust security mechanism, the new faster, smaller, default internal Homebrew JSON API, sandboxing on Linux, better defaults informed by our user survey, many brew bundle improvements, improved performance and initial support for macOS 27 (Golden Gate).

Happy to discuss any questions here!

715 points | 171 commentspage 4
theragra 2 hours ago|
I was so impressed with Homebrew, I've added a formula for far2l-tty.

Thanks for your job!

shawkinaw 4 hours ago||
Could really use a good rollback mechanism, is there one in the works perchance? I have broken my home server multiple times with bad InfluxDB and Grafana updates, and rollback was a huge pain. I’ve now disabled cleanup so old versions of packages are kept, but there must be a better way.
jwr 4 hours ago||
Thanks for all the work you put into this over the years. Homebrew became my go-to solution for installing software on my Macs (after MacPorts) and I just realized that someone has been doing all that work for me for so long. Much appreciated!
pknerd 4 hours ago||
Thanks for producing such an amazing piece of software. Most of my Mac installations are based on Homebrew, but I have to rely on version management tools like Pyenv or nvm for Python and Node. Wish there was some standard 'Homebrew' way to install multiple versions of node, php and Python
mikemcquaid 4 hours ago||
There's a selection of ways that may or may not work for you:

- `formula@version` packages

- `brew version-install` (which uses `brew extract` and `brew tap-new` under the hood)

- `version_file:` support in `brew bundle

- `brew pyenv-sync`

PufPufPuf 4 hours ago||
Have a look at https://mise.jdx.dev/, it's exactly what you're looking for!
holysantamaria 3 hours ago||
I will try this new release of brew but I have been extremely satisfied with determinate nix so far. It completely changed my confidence in installing new stuff
joshuat 5 hours ago||
Is the eventual goal to move most formula/cask behavior into declarative install steps and treat Ruby as an escape hatch?
mikemcquaid 5 hours ago|
Yes, exactly. The goal is you can install all official packages without needing custom postinstall/preflight/postflight blocks.
chuckreynolds 4 hours ago||
Brew is so good... just sponsored on github. Thanks for the hard work!
jamesgill 4 hours ago||
I know this runs on Linux too. As a Linux user, I'm unclear on why I might use this instead of apt or dnf, for example. Any Linux users out there have experience with both Homebrew and one of these?
theragra 2 hours ago||
You can have multiple versions of tools installed. But overall, homebrew plays well with atomic distros. They are thing in itself, yet getting more popular lately. Im using them at home and on the server, and it feels calmer, because I can't fuck up whole system easily. Considering I'm using llms without sandbox often, this is pure gold.
riffic 4 hours ago|||
Homebrew provides access to a massive catalog of software, including many tools that are not packaged for Fedora, Debian, or Ubuntu. Homebrew relies on a high level of automation in GitHub actions, which ensures users get the latest versions of tools quickly, rather than waiting for distribution-specific repositories. The Homebrew approach also decouples the underlying system from what you choose to install in user-space.
latexr 3 hours ago||
You can run Homebrew on Linux without admin privileges. Useful e.g. for shared hosting.
threecheese 4 hours ago||
I assume this trust issue is related to the not-infrequent MacOS notifications asking for permission to run Ruby in the background or when the machine starts. It says nothing about Homebrew though.
tom1337 4 hours ago|
macOS Permission Management regarding shell scripts is so bad. For example they show you a list of software thats allowed to access the full disk - but I have like 8 "sh" or "bash" in there and some random scripts with no way to open the enclosing directory in Finder making it basically impossible to see what it is and if its legit…
mattbettinson 3 hours ago|
Okay, but can you reverse a binary tree?
yesitcan 3 hours ago|
We should all be ashamed of the interview culture we have created in this industry.
mattbettinson 1 hour ago||
I didn't do shit :D
More comments...