Commands Reference
Use this page as a map, not a wall of flags. For the exhaustive option list, run vizzly --help or vizzly <command> --help.
Core workflows
vizzly run
Run a test command with Vizzly capture and upload the result to Vizzly Cloud.
vizzly run "npm test" --waitCommon options:
--wait--build-name--environment--parallel-id--allow-no-token--upload-timeout
When a screenshot fails to upload
If an upload fails, vizzly run prints the screenshot’s name and the reason, then keeps uploading later captures. Your tests keep running. You don’t need debug logging to see what went wrong.
Check the summary at the end of the run:
Screenshots: 4 captured, 2 uploaded, 1 reused, 1 failedHere, one screenshot never reached Vizzly. The CLI reports that visual testing is incomplete and marks the Vizzly build failed. If it can’t reach the API to update the build, it warns you in the terminal.
An upload failure won’t fail a passing test suite. The CLI keeps your test command’s exit code: zero when tests pass, nonzero when they fail. With --wait, it returns after an incomplete upload instead of waiting for comparisons. When all uploads succeed, --wait still exits nonzero for failed visual comparisons.
For scripts, use --json and check uploads.failed; a zero exit code alone doesn’t tell you whether all screenshots arrived. Once you’ve fixed the upload problem, rerun the affected tests to capture the missing screenshots.
vizzly tdd
Run local visual comparisons.
vizzly tdd start --openvizzly tdd run "npm test"vizzly tdd status --port 47393vizzly tdd stopSubcommands:
startrunstatusstoplist
start uses port 47392 by default, but it can auto-assign another free port
when needed. Use the port printed by start with status --port <port> and
stop --port <port> when you need to manage a specific daemon.
vizzly upload
Upload screenshots from a folder.
vizzly upload ./screenshots --waitCommon options:
--wait--build-name--environment--parallel-id--batch-size--upload-timeout
vizzly preview
Upload static build output for in-context review.
vizzly preview ./distCommon options:
--build--open--dry-run--public-link--base--exclude--include
Read-only query commands
vizzly status
vizzly status <build-id>vizzly builds
vizzly builds --limit 10vizzly builds --build <id> --comparisonsvizzly comparisons
vizzly comparisons --build <id>vizzly comparisons --name "header*"vizzly context
Read local TDD results or inspect one build, screenshot, or comparison.
vizzly context build current --source local --jsonvizzly context build <build-id> --jsonvizzly context comparison <comparison-id> --jsonvizzly context screenshot <name> --jsonvizzly context review-queue --jsonAll context commands support --source auto|cloud|local. Use --json when a script needs
structured output. For cloud requests from agents and scripts, start with
vizzly api schema.
The --agent options for context build and context comparison are deprecated in v0.37.x and
will be removed in v0.38.0. Use API schema discovery for cloud requests. For local TDD results, use
vizzly context ... --json.
context comparison shows one visual change, including its current and baseline images, diff
details, downloadable artifacts, and history. context screenshot follows a screenshot name across
builds. context similar finds earlier comparisons with the same Honeydiff fingerprint and needs
cloud history.
vizzly baselines
Inspect local TDD baselines.
vizzly baselinesvizzly baselines --info homepageReview commands
vizzly approve
vizzly approve <comparison-id>vizzly reject
vizzly reject <comparison-id> --reason "Unexpected regression"vizzly comment
vizzly comment <build-id> "Looks good overall"Setup and account
vizzly init
Create a starter config for the project. For repos where agents help with UI work, add the Vizzly skill and project guidance at the same time.
vizzly initvizzly init --agent-guidancevizzly init --agent-skillvizzly init --skip-agent-skillUse --agent-guidance when you want the full agent setup. It installs the
repo-local Vizzly skill at .agents/skills/vizzly and writes a short Vizzly
section to AGENTS.md, so agents know how to use screenshot history and the
local visual TDD loop.
Use --agent-skill when you only want the local skill. Use
--skip-agent-skill when you want config setup without the agent prompt.
vizzly doctor
vizzly doctorvizzly doctor --apivizzly config
vizzly configvizzly config comparison.thresholdvizzly login
vizzly loginvizzly logout
vizzly logoutvizzly whoami
vizzly whoamivizzly orgs
vizzly orgsvizzly projects
vizzly projectsvizzly projects --org acmevizzly project link
vizzly project link acme/webvizzly project link --org acme --project webAdvanced
vizzly finalize
Finalize a parallel build after all shards finish.
vizzly finalize <parallel-id>vizzly api
Discover supported requests, then call an API endpoint.
vizzly api schema --jsonvizzly api schema sdk.listBuilds --jsonvizzly api /api/sdk/builds \ --header 'Vizzly-API-Version: 2026-09-12' --jsonThe schema describes each request’s method, API version header, parameters, body, and response.
Use --output to save image responses. See API schema and requests for details.
Global flags
These work across the CLI:
--json [fields]--token--config--verbose--log-level--strict--color--no-color