autosana CLI connects local simulators, emulators, physical devices, and dev servers to Autosana so you can run flows against a build on your own machine. It also validates your code-managed flow files offline before you push (autosana flows validate).
Quick install
The fastest way — installs uv if it’s missing, then the CLI. Zero prerequisites:Other install methods
pipx:The
autosana flows commands (validate/export) require version 0.8.0 or newer. Older installs won’t have them.Local device testing
Everything above is a lightweight install that covers theflows commands and the rest of the CLI. Capturing screenshots from a simulator or physical device needs the optional local extra (it pulls in Pillow), installed with uv or pip:
Add
[local] only if you’re running flows against a device on your own machine.Verify
autosana isn’t found after installing with uv, add uv’s tool directory to your PATH and restart your shell:
Set up prerequisites
Local device testing needs Node.js, Appium, and a tunnel. The CLI installs and checks them for you:Log in
Authenticate the CLI against your Autosana organization — it opens the dashboard for a one-click approval, no key copying:AUTOSANA_API_KEY still works for CI and scripting, and always takes precedence over a stored login.