News for hackers. Stuff that matters.
Re:Show HN: Terminal UI for AWS by politelemon on Sunday January 04, 2026 @04:13PM (#46492295)
Please don't use or suggest using homebrew as a Linux installation solution. It's better to simply point at the binaries directly.
Re:Show HN: Terminal UI for AWS by jbreckmckye on Sunday January 04, 2026 @04:20PM (#46492365)
What's wrong with Brew?
Re:Show HN: Terminal UI for AWS by huseyinbabal on Monday January 05, 2026 @01:04PM (#46502298)
What is the error? We can continue on github, I can do my best
Re:Show HN: Terminal UI for AWS by frenzcan on Sunday January 04, 2026 @04:28PM (#46492465)
What’s the issue with homebrew?
Re:Show HN: Terminal UI for AWS by astrea on Sunday January 04, 2026 @05:52PM (#46493243)
It’s specifically a Mac workaround package manager. There’s better/cleaner ways to do it on Linux.
Re:Show HN: Terminal UI for AWS by bbkane on Sunday January 04, 2026 @06:14PM (#46493404)
I love Debian's stability, but I rely on Homebrew (instead of apt) to get more recent releases of software. Overall it works swimmingly!
Re:Show HN: Terminal UI for AWS by dangus on Sunday January 04, 2026 @06:33PM (#46493556)
Unless you have immutable Linux where Homebrew is a preferred method of CLI tool installation.

https://docs.bazzite.gg/Installing_and_Managing_Software/

Linux is just a kernel, not everyone agrees on what is “better” and “cleaner” to use with it!

Re:Show HN: Terminal UI for AWS by hollerith on Tuesday January 06, 2026 @10:25PM (#46522151)
Don't let the beer emoji in the program's output fool you: unlike most Linux package managers, Homebrew has undergone a professional security audit, and is used (along with Flatpak and Ostree) by Secureblue.
Re:Show HN: Terminal UI for AWS by colesantiago on Sunday January 04, 2026 @04:31PM (#46492493)
What's the problem with Homebrew?

> It's better to simply point at the binaries directly.

Binaries aren't at all signed and can be malicious and do dangerous things.

Especially if it's using curl | bash to install binaries.

Re:Show HN: Terminal UI for AWS by yoavm on Sunday January 04, 2026 @05:52PM (#46493242)
Are you using Homebrew on Linux? Genuinely curious - I never met a Linux user doing that.
Re:Show HN: Terminal UI for AWS by indigodaddy on Sunday January 04, 2026 @06:01PM (#46493304)
Brew actually works very nicely for Linux and is a useful method to enable package management of cli tools/libraries at the user level.

It's also widely accepted as one of the tools of choice for package persistence on immutable distros (distrobox/toolbox is also another approach):

https://docs.projectbluefin.io/bluefin-dx/

Also, for example I use it for package management for KASM workspaces:

https://gist.github.com/jgbrwn/28645fcf4ac5a4176f715a6f9b170...

Re:Show HN: Terminal UI for AWS by embedding-shape on Sunday January 04, 2026 @05:57PM (#46493274)
At least one other person also does:

> as long as I have a basic Linux environment, Homebrew, and Steam

https://xeiaso.net/blog/2025/yotld/ (An year of the Linux Desktop)

I guess some post-macOS users might bring it with them when moving. If it works :shrug:

Re:Show HN: Terminal UI for AWS by serpix on Monday January 05, 2026 @01:24AM (#46495870)
Linuxbrew is absolutely fantastic. No need to mess with apt repositories and can keep custom binaries separate from the os. Almost everything is there, and it just works.
Re:Show HN: Terminal UI for AWS by -mlv on Sunday January 04, 2026 @05:14PM (#46492877)
I had some issues with brew breaking up my system and pkg-config.
Re:Show HN: Terminal UI for AWS by colesantiago on Sunday January 04, 2026 @05:46PM (#46493185)
It is a bit hard to know what the issue is here.

But on average brew is much more safer than downloading a binary from the ether where we don't know what it does.

I see more tools use the curl | bash install pattern as well, which is completely insecure and very vulnerable to machines.

Looks like the best way to install these tools is to build it yourself, i.e. make install, etc.

Re:Show HN: Terminal UI for AWS by garblegarble on Sunday January 04, 2026 @06:24PM (#46493484)
>the best way to install these tools is to build it yourself, i.e. make install, etc.

And you're fully auditing the source code before you run make, right? I don't know anyone who does, but you're handing over just as much control as with curl|bash from the developer's site, or brew install, you're just adding more steps...

Re:Show HN: Terminal UI for AWS by colesantiago on Sunday January 04, 2026 @07:03PM (#46493758)
> And you're fully auditing the source code before you run make.

I mean you can?

But that is the whole point when the source is available, it is easier to audit, rather than binaries.

Even with brew, the brew maintainers have already audited the code, and it the source to install and even install using --HEAD is hosted on brew's CDN.

Re:Show HN: Terminal UI for AWS by garblegarble on Tuesday January 06, 2026 @06:39PM (#46520505)
>Even with brew, the brew maintainers have already audited the code

Realistically, how much are they auditing? I absolutely agree with your sentiment that it's better than a binary, but I think the whole security model we have is far too trusting because of the historically overwhelming number of good-faith actors in our area both in industry and hobbyists

Re:Show HN: Terminal UI for AWS by yarekt on Sunday January 04, 2026 @05:29PM (#46493014)
Nice, download a random binary off the internet and give it your AWS credentials.

Please people, inspect the source to your tools, or don't use them on production accounts.

Re:Show HN: Terminal UI for AWS by viraptor on Sunday January 04, 2026 @06:12PM (#46493387)
> Please people, inspect the source to your tools, or don't use them on production accounts.

This is not realistic. Approximately nobody installing AWS cli has reviewed its code.

Re:Show HN: Terminal UI for AWS by johntash on Sunday January 04, 2026 @08:39PM (#46494404)
Official AWS cli from AWS is a bit different than "random binary off the internet"?
Re:Show HN: Terminal UI for AWS by thejazzman on Sunday January 04, 2026 @05:34PM (#46493057)
How did you install homebrew?
Re:Show HN: Terminal UI for AWS by dangus on Sunday January 04, 2026 @06:31PM (#46493534)
Comes with my district (bazzite). It’s a preferred solution for that distro in particular because it is convenient for immutable Linux.

https://docs.bazzite.gg/Installing_and_Managing_Software/

Re:Show HN: Terminal UI for AWS by OptionOfT on Sunday January 04, 2026 @06:15PM (#46493410)
Why?

Is it the best out there? No. But it does work, and it provides me with updates for my tools.

Random curl scripts don't auto-update.

Me downloading executables and dropping them in /bin, /sbin, /usr/bin or wherever I'm supposed to drop them [0] also isn't secure.

[0] https://news.ycombinator.com/item?id=46487921

Also, I find it is usually better to follow up with something like:

'It's better to use Y instead of X BECAUSE of reasons O, P, Q, R & S' vs making a blanket statement like 'Don't use X, use this other insecure solution instead', as that way I get to learn something too.

Re:Show HN: Terminal UI for AWS by rodrigodlu on Sunday January 04, 2026 @06:29PM (#46493517)
I use mise to update binaries. Especially TUIs that are not on the arch repos. It supports several backends, from cargo crates to GitHub releases, to uv for python and so on.

So one doesn't really need homebrew that has Linux as third class citizen (with the 2nd class empty)

Re:Show HN: Terminal UI for AWS by dangus on Sunday January 04, 2026 @06:30PM (#46493524)
As a user of immutable Linux (bazzite), I suggest speaking for yourself and not for others.

On my platform, Homebrew is a preferred method for installing CLI tools. I also personally happen to like it better on Linux than Mac (it seems faster/better).

https://docs.bazzite.gg/Installing_and_Managing_Software/

Re:Show HN: Terminal UI for AWS by purerandomness on Sunday January 04, 2026 @06:33PM (#46493558)
brew is for users of non-Arch distros who want to experience what using Arch feels like.
Re:Show HN: Terminal UI for AWS by rswail on Monday January 05, 2026 @01:02AM (#46495759)
Also don't use Homebrew on MacOS because it screws around in /usr/local and still hasn't worked out how root is supposed to work.

Use Macports, it's tidy, installs into /opt/macports, works with Apple's frameworks and language configuration (for python, java etc), builds from upstream sources + patches, has variants to add/remove features, supports "port select" to have multiple versions installed in parallel.

Just a better solution all around.