Skip to content

report and other commands

Every command takes the options for every command.

report

benchbar report [--print | --json]

Writes a redacted diagnostics zip, ~/Desktop/benchbar-report-<stamp>.zip, for a bug report. It holds doctor and status as JSON, the versions of everything involved, the launchd agent, Procfile.lean, state.json and the last 200 lines of bench.log and worker.error.log.

Site config files are never copied, only their key names. Any value whose key looks like a password, secret, token, key, API or auth credential is replaced by ***. Your home folder, user name and every name of the Mac are replaced by placeholders. REDACTIONS.txt inside the zip lists what was replaced.

FlagWhat it does
--printPrint the same contents to the terminal instead
--jsonWrite the zip and print {"zip": path, "redactions": n}, the report schema the app reads

Exit codes: 0; 1 when the zip could not be written.

Terminal window
benchbar report --print

Attach the zip to an issue at https://github.com/askysh/benchbar/issues.

docs

benchbar docs [TOPIC] [--print]

Opens this documentation in your browser, or the page of one topic: install, quick-start, app, sites, apps, doctor, teams, agents, mcp, cli, config, json, runners, troubleshooting, decisions, roadmap or contributing. benchbar docs --help lists every topic with its aliases.

FlagWhat it does
--printPrint the URL instead of opening it

Exit codes: 0; 1 for an unknown topic.

Terminal window
benchbar docs doctor

—version

benchbar --version

The first line is always benchbar <version>, which the app and scripts read. When BenchBar.app is installed in ~/Applications or /Applications, a second line gives the app’s version.

list

benchbar list [--json]

Every bench benchbar knows about: path, default site, sites, ports, and whether its service is installed. With --json, the list schema.

Exit codes: 0.

Terminal window
benchbar list --json

autostart

benchbar autostart on|off

Whether the bench may come back after login, when it was running before. Without an argument it says which it is.

Exit codes: 0; 1 for another argument, or when the agent could not be written.

Terminal window
benchbar autostart off

mariadb-password

benchbar mariadb-password [--yes]

Prints the MariaDB root password kept in the Keychain (item benchbar-mariadb), after asking. --yes skips the question.

Exit codes: 0 printed; 1 declined, or no password in the Keychain.

Terminal window
benchbar mariadb-password

uninstall-service

benchbar uninstall-service [--bench-dir DIR] [--dry-run]

Removes the launchd agent, the runner, Procfile.lean and the shell helper block of one bench, after asking. The bench, its sites, apps and databases are not touched; the plist is moved to ~/Library/LaunchAgents-disabled/ and the other files are backed up first.

Exit codes: 0; 1 declined.

Terminal window
benchbar uninstall-service --bench-dir ~/dev/v16-bench

To remove BenchBar itself, see Uninstall.

help and version

benchbar --help
benchbar --version

--help (or -h, or benchbar help) prints every command and option. --version prints benchbar and the version.