Command Line

ZAP supports the following command line options:
    -cmdRuns ZAP 'inline', ie without starting the UI or a daemon
    -daemonStarts ZAP in 'deamon' mode, ie without a UI
    -dirUses the specified directory instead of the default one
    -hShows all of the commandline options available, including those added by add-ons
    -helpThe same as -h
    -hostOverrides the host used for proxying specified in the configuration file
    -portOverrides the port used for proxying specified in the configuration file
    -versionReports the ZAP version

Note that add-ons can add extra command line options.

See also

     Introductionthe introduction to ZAP