Use this guide to install the TypeScript CLI, confirm it works, and then run a minimal scenario against a mobile runtime.Documentation Index
Fetch the complete documentation index at: https://visorai.dev/docs/llms.txt
Use this file to discover all available pages before exploring further.
Requirements
Before you install visor, make sure you have:- Node.js
20or later npm
- a bootable Appium environment for the selected device platform
- a booted Android emulator or device, or an iOS simulator or device
- the app identifier for the app you want visor to launch or attach to
Install visor
Confirm the CLI is available
visor CLI entry point and the runtime dependencies published with the visor-ai package.Run your first command
Create a minimal scenario file namedcheckout-smoke.json:
visor with node dist/main.js.
Expected result:
- the top-level
statusisok data.validistruedata.issuesis an empty list
output.report field in the example is accepted by the schema, but the current report writer always emits the standard report set regardless of that list.
Run your first scenario
Once validation passes, start the runtime daemon:artifacts-test/<run-id>/ with files such as:
summary.txtsummary.jsonjunit.xmltimeline.logreport.html- copied artifacts under
screenshots/andsources/
Choose a target
When you need a specific app or device, add runtime inputs:--device, visor detects running Android devices and booted iOS simulators. When more than one target is available, visor prompts you to choose one.
Runtime commands require the Visor daemon started by visor start. Use visor status to inspect the daemon and Appium state, and visor stop when you are done.
Next steps
Platforms and runtime
Review runtime defaults, daemon lifecycle behavior, and environment variables.
Scenarios
Learn how scenario files are structured and how visor validates them.
Artifacts and reports
See exactly which files visor writes after each run.
Command reference
Inspect every command, flag, and response field.