CLI reference
Install it from Integrations → Command line; it's symlinked so bothy works in any terminal. Every command supports --json. Run bothy --help or bothy site --help for every flag.
bothy doctorHealth report: Homebrew, binaries, DNS resolver, PHP/DB versions, servicesbothy up | down | statusStart everything, stop everything, show services with CPU/memorybothy site add <name> [--php X.Y] [--db]Create a sitebothy site add <name> --git <url> --composerClone and installbothy site open | remove | rename <name>Open in your browser, remove, or rename (changes the URL)bothy site php <name> <X.Y>Switch a site's PHP versionbothy site ini <name> <key> <value>Per-site php.inibothy site env <name> <KEY> <value>Set an env varbothy site xdebug <name> on|offToggle Xdebugbothy site exec <name> -- <cmd>Run a command with the site's PHPbothy site db <name> assign|unassign <db>Assign databases to a sitebothy site label | folder <name> …Display name; sidebar folderbothy site export <name>Zip files, database dumps and configbothy site purge <name>Flush the site's Redis db and Memcachedbothy php install | uninstall <X.Y>Manage PHP versionsbothy php ini <X.Y> <key> <value>Per-version php.inibothy db add-server <formula> --port <n>Add a MySQL/MariaDB serverbothy db create | drop <db>Create or drop a databasebothy db query <db> "<sql>"Run SQLbothy db snapshot | restore | import <db> [file]Dump, restore, or load a .sql/.sql.gz/.zipbothy service start|stop|restart <name>caddy, dnsmasq, php-8.3, mysql-8.4…bothy stats [site] [--json]Server-wide or per-site statsbothy logs <site|service> [--kind access|php|slow]Tail logsbothy addon [enable|disable|php-ext] …Redis, Memcached, Nodebothy pma [db]Open phpMyAdminbothy mail [--list|--clear|--enable]Mailpitbothy licence [activate KEY|deactivate]Show, activate or deactivate this Macbothy usage [on|off]Anonymous usage counts waiting to be sent; opt out or in