// vim: set et sw=4 ts=8 ft=asciidoc tw=80:
port-prefix(1)
==============

NAME
----
port-prefix - Print the prefix for which MacPorts was configured

SYNOPSIS
--------
[cmdsynopsis]
*port* *prefix*

DESCRIPTION
-----------
This command prints the installation prefix of your MacPorts installation, i.e.,
the directory under which MacPorts and all ports are installed. The prefix is
set at configure time and defaults to '/opt/local'.

include::global-flags.txt[]

SEE ALSO
--------
man:port[1]

AUTHORS
-------
 (C) 2026 The MacPorts Project
