Requirements
- macOS 15 or later
- Xcode 16 or later
- Swift 6.1+ (only needed to build from source)
Install
- Homebrew
- Release tarball
- From source
Verify
doctor checks Xcode and its version, whether a simulator is booted, whether the runner is extracted, grantiva.yml, the git repository, your Grantiva auth, and GitHub App configuration. A failing required check exits 1; the optional ones are advisory and do not affect the exit code, so grantiva doctor || exit 1 is a usable CI preflight.
Extract the runner
UI automation runs through GrantivaAgent, a WebDriverAgent embedded in the CLI. Extract it once after installing or upgrading:Authenticate
Local capture and comparison work with no account. You need credentials forgrantiva ci run, cloud baselines, and every grantiva console command.
- Browser login
- API key
- Environment (CI)
~/.grantiva/auth.json with mode 0600.env or file, the base URL, and the key prefix. grantiva auth logout deletes ~/.grantiva/auth.json; it does not clear GRANTIVA_API_KEY from your environment.
Next steps
- VRT quick start — capture your first screenshots
- Configuration — the
grantiva.ymlreference - Commands — every
grantivacommand - Console commands — your dashboard from the terminal
- Simulator management — capacity, leases, and teardown
- CI integration — GitHub Actions, pre-built binaries, parallel runs