Hacker News new | ask | show | jobs
by bugbuddy 138 days ago
Meanwhile, homebrew install instructions:

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

Then it prompts user for admin previledges. Also, it does not support installing as a local non-admin user.

3 comments

I would agree if it was the only way to install Homebrew, but it is not.

You can install it via a .pkg here: [0]

[0] https://github.com/Homebrew/brew/releases/tag/5.0.13

Does it still do the "you can't install via sudo, that's a security risk" while not allowing a non-admin install? I laugh and I cry.

Why does anyone trust that project to understand security?

MacPorts, of course, features an actual .pkg installer, as well as doing pretty much everything else better, and having more packages, and existing first.
I use brew but willing to try out Macports. How come the package install instructions seem to require sudo under macports? Does that not carry more risk during the install ?
Because it requires access to /opt/local. It drops down to the macports user for all the actual fetching and management.