Hacker News new | ask | show | jobs
by assimpleaspossi 84 days ago
That doesn't make sense. Why do I need Homebrew to install the command line tools of macOS on macOS? Doesn't macOS already have them installed? Same for Linux, etc.
1 comments

Replace "need" with "want" and it might make more sense?

Homebrew is the Mac equivalent of APT, Pacman, RPM, BSD ports, etc. It's a fairly traditional package manager for software that doesn't come with macOS. "brew install postgresql" installs Postgres into /opt/homebrew, for example.

So how does one install postgresql on a Mac?
"brew install postgresql", unless you meant without Homebrew, in which case you could download the sources manually and compile with "make".