MacPorts vs Homebrew

Users debate the strengths and weaknesses of MacPorts versus Homebrew as macOS package managers, often preferring MacPorts for stability and segregation while criticizing Homebrew's issues, with mentions of alternatives like Nix.

πŸ“‰ Falling 0.4x DevOps & Infrastructure
3,204
Comments
20
Years Active
5
Top Authors
#9224
Topic ID

Activity Over Time

2007
3
2008
44
2009
63
2010
123
2011
126
2012
131
2013
126
2014
127
2015
158
2016
277
2017
132
2018
104
2019
153
2020
208
2021
513
2022
239
2023
257
2024
212
2025
196
2026
12

Keywords

e.g PHP IMHO CLI PMS AUR GPL2 MacPorts UI IMO macports homebrew brew package nix macos apt package manager packages install

Sample Comments

tempodox β€’ Jul 31, 2022 β€’ View on HN

MacPorts is a better alternative to Homebrew, I never had any problems with it.

grizzkill β€’ Oct 3, 2014 β€’ View on HN

I like Macports a lot more. I've never had an issue with any of the packages really besides a few esoteric ones that failed to build or hadn't been updated in a while (and they are usually easy to by updating the portfile). I prefer the segregated environment of macports too, you won't overwrite any system stuff. I got the impression that homebrew wasn't a terribly well thought out tool and was a bit lazy. There's a lot of 'github' culture there which I'm

theodric β€’ Dec 13, 2021 β€’ View on HN

MacPorts is based on apt. You might enjoy using that more than brew.

mnm1 β€’ Apr 30, 2019 β€’ View on HN

Homebrew isn't great but having to manually remove and reinstall all macports every os upgrade, having to deal with messed up dependencies and debugging failed compiling errors manually, and having macports libraries conflict with other mac software and making it crash was just too much. I need at best a few tools provided by these package managers and I don't want to spend hours messing around with their configurations. I just want them to work. Brew used to have issues for me but the

smoldesu β€’ Jan 17, 2023 β€’ View on HN

I'd recommend checking out some other package managers for Mac. I'm being a bit harsh on Homebrew, but Macports is generally a better option IMO. The real crown-jewel is truly what everyone says; Nix. It's just a brilliant, next-generation package management tool that does what it says on the tin. It works on MacOS, allows for granular package installation/upgrading, ephemeral shell-based dev environments, declarative system management and more.It's a bit like

GlenTheMachine β€’ Apr 30, 2019 β€’ View on HN

I used to use MacPorts, and switched to Homebrew. For exactly one reason: Homebrew uses, whenever possible, the tools already built in to macOS, where as MacPorts builds new versions of those tools in order to maintain a pristine build environment.MacPorts' philosophy seems better in theory, but in practice it has two flaws that turned out to be very significant for me. The first is that you end up needing a huge number of ports, partly because you're duplicating the tools already o

brigandish β€’ Jun 17, 2021 β€’ View on HN

I'd plump for Macports or pkgsrc long before Homebrew.

pseudalopex β€’ Dec 31, 2020 β€’ View on HN

MacPorts has binary packages. Homebrew uses Ruby not bash. MacPorts uses Tcl. MacPorts just has better QA.

ricardobeat β€’ Mar 27, 2022 β€’ View on HN

Homebrew is a much more reliable package manager than macports. Trying to make OSX into Linux might have been the problem there, it’s just a little different in many aspects. What kind of tools did you miss?

whalesalad β€’ Apr 22, 2025 β€’ View on HN

back in the day macports was a fucking nightmare. homebrew may not be perfect but it is popular for good reason.