box, and its options, as box --help and box <command> --help print them for box 0.1.46. box --version prints the version you have
Options every job command takes
build, test, screenshot, run, debug, web, devices, exec, purge and every box ui command
build, test, screenshot, run and debug also take
test, screenshot, run, debug and every box ui command also take (test only --device)
What
--dry-run printed for a small SwiftUI app
Account
box login
Sign in with your personal GitHub account. Prints a link, opens it in the browser and waits until you press Continue with GitHub
box key create
Make an API key for a place without a browser (CI, a cloud agent) and use it as BOX_API_KEY. Its value is shown only this once
box key list
Your API keys: ids and names, never the values
box key delete ID
Delete an API key. Anything still using it stops working
box logout
Forget the saved sign-in
box status
Account, balance (and about how many build minutes it buys), held amount, minutes used today, running jobs and the last job
Set up your agents
box setup
Once per machine: the box skill for Claude Code and Codex, a short box section in ~/.claude/CLAUDE.md and ~/.codex/AGENTS.md, and the MCP server for both. Nothing is written into your project. See Agents
box mcp
Run box as a local MCP server over stdio. box setup registers it; you rarely run it yourself
Jobs
box build
Build for the simulator. Takes the options above and
box test
Build and run the tests on a fresh simulator. Takes the options above, --device and
box screenshot [OUT]
Launch the app and save a picture (default .box/out/<job>/). Takes the options above, the app options and
box run
Build the app and keep it open on a simulator for box ui, until the next build, test, run or stop. Two folders run at once; a third waits. Takes the options above and the app options
box debug --break FILE:LINE
Launch the app under LLDB, stop at breakpoints and print the stack and variables (iOS only; ends the open run session). Takes the options above, the app options and
box web [URL]
Open a page in Safari on a Mac and in Safari on an iPhone simulator: safari-mac.png, safari-ios.png and web.json with page errors and failed requests. Takes the common options and
box devices
List the simulators (iOS: name, runtime, udid) or emulator profiles (Android) that --device takes. A short job, billed like any other
box exec -- COMMAND
Run one shell command in the project folder on the Mac (or the Android machine). Files it puts in $BOX_OUT or box-out/ come back to .box/out/<job>/
box purge --yes
Empty this project’s workspace on the selected platform (build cache and source copy). Nothing is removed without --yes
Drive the running app
box ui describe
The elements on screen, one line each: role, label, value and the ref tap --id takes
box ui find --text TEXT
The one element whose label, value or ref contains TEXT
box ui tap
Tap an element by --id ID or --label LABEL, or a point X Y
box ui type TEXT
Type into the focused field
box ui swipe X1 Y1 X2 Y2
Swipe from one point to another
box ui button NAME
Press a hardware button: home, lock, side or siri
box ui screen [OUT]
Save a picture of the screen now
Follow and stop jobs
box jobs
Your recent jobs, newest first
box logs [JOB]
Follow a job’s output again (default: the last one)
box results [JOB]
Download a finished job’s results again into .box/out/<job>/ (screen.png, logs, test results) without running it again (default: the last job). Also box get. Comes in the version after 0.1.46; 0.1.46 does not have it yet
box stop [JOB]
Stop a job or the open app session (default: the last job)
box cancel [JOB]
Cancel the job running now (default: the last one). The command that was following it exits 130
box why [JOB]
Why a failed job failed: the file:line, the cause and the fix direction, read by AI from the crash reports, failing tests and log (default: the last job)
Money
box usage
Your jobs and what each cost
box balance
Every balance change (top-ups, the signup credit, job charges) with the balance after each. Takes the same --from, --to, --csv and -o (default box-balance-<from>-<to>.csv)
box topup
Open the wallet top-up page
box report [JOB] --reason "..."
Report a job that failed on our side (the Mac, a time limit, a lost connection) or was charged wrong, for a refund (default: your last failed job). Not for your app’s own compile or test errors. Also box bug
box claims
Your job reports and their results: refunded, or declined with the reason
Settings and feedback
box ai [on|off|status]
box AI for your account (on by default). Off: no failed job’s log, test results or screens go to the AI models from then on, and box why and the ai: line stop
box telemetry [on|off|status]
Error reports to the box team. BOX_TELEMETRY=0 or DO_NOT_TRACK=1 also turn them off
box feedback "TEXT"
Send a note about box to the team, with your last job attached
Example: the simulators on the Mac
Whatbox devices printed, shortened to the first lines and the end