Determine MacPorts prefix

Joshua Root jmr at macports.org
Fri Oct 5 00:22:40 UTC 2018


On 2018-10-5 09:47 , Ryan Schmidt wrote:
> Is there a simple command one can use at the command line to determine the MacPorts prefix?
> 
> `port prefix` came to mind as a logical thing to try, but it does not work.

dirname $(dirname $(which port))


More information about the macports-dev mailing list