MacOS package managers include:
- Homebrew (installs to
- MacPorts (installs to
- Fink (installs to
Homebrew has grown to be the largest MacOS package manager. Homebrew has broad package support and the ability to create unofficial “taps” software. Taps allow distributing binaries via Homebrew before going to include in the main homebrew package repo, which takes time and justification.
Homebrew distributes per-OS compiled binaries, so install time is almost instant. It is possible to also download source and build locally with Homebrew if desired. Homebrew does NOT require root, installing as user by default.
Macports distributes source code that is compiled on install, so Macports is generally much slower to install packages. Macports uses root, which can lead to users goofing up their system or workplace policy issues.
Fink distributes binaries, and uses apt-get like Linux. Fink uses root, which can lead to users goofing up their system or workplace policy issues.
Keep in mind the limitations of package manager statistics. Here is a snapshot of “last 30 days” install counts for Homebrew and Macports, and Fink doesn’t provide such counts.
- homebrew: 73,800
- macports: 127
- homebrew: 139,730
- macports: 502
- homebrew: 12,613
- macports: 70
- homebrew: 869,020
- macports: 87
- macports vs. homebrew discussion