Thoughts on macOS Package Managers
This fundamentally is a very bad idea: package managers that install software for all users of your computer, as Homebrew does by default, should always require elevated privileges to function correctly. This means MacPorts needs to install some “duplicate” tools (whereas Homebrew will try to use the ones that come with your system where possible), the downside of which is that there is an one-time “up-front” cost as it installs base packages. While both package managers have the basic functionality you’d expect from a package manager, MacPorts is generally much more full featured than Homebrew is.
Source: saagarjha.com