Command Line To run ZAP via the command line, you will need to locate the ZAP startup script. Windows: C:\Program Files (x86)\ZAP\Zed Attack Proxy\zap.bat Note: The command line options are not used by the executable (zap.exe) only the bat file. Mac: /Applications/ZAP.app/Contents/Java/zap.sh Linux: zap.sh will be below the directory where ZAP was installed.