> ## Documentation Index
> Fetch the complete documentation index at: https://docs.roveflow.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# CLI reference

> Every roveflow command.

You'll mostly use just `setup`, the autopilot calls the rest for you while it maps an app. They're here if you want to drive things by hand.

## Setup & health

| Command              | What it does                                                                |
| -------------------- | --------------------------------------------------------------------------- |
| `roveflow setup`     | Get your phone ready in one step (installs the driver, connects the phone). |
| `roveflow doctor`    | Check everything's connected.                                               |
| `roveflow devices`   | List the apps on your phone (and their ids).                                |
| `roveflow keygen`    | Show which signing identity Roveflow will use.                              |
| `roveflow uninstall` | Remove the driver and clean up.                                             |

## Build & view the map

| Command                      | What it does                                                      |
| ---------------------------- | ----------------------------------------------------------------- |
| `roveflow atlas`             | Build `atlas.html` and the flow videos from what you've captured. |
| `roveflow atlas --no-videos` | Build the map without videos (faster).                            |
| `roveflow serve`             | Open the Atlas in your browser.                                   |

## Drive the phone

Used by the autopilot; handy for manual capture too.

| Command                                     | What it does                                                  |
| ------------------------------------------- | ------------------------------------------------------------- |
| `roveflow launch <app>` / `stop <app>`      | Open or close an app.                                         |
| `roveflow screenshot <name>` (alias `snap`) | Save the current screen as `<name>`.                          |
| `roveflow tap <x> <y>`                      | Tap a point. Add `--px` to use coordinates from a screenshot. |
| `roveflow swipe <x1> <y1> <x2> <y2>`        | Swipe / scroll (`--px`, `--dur <ms>`).                        |
| `roveflow type <text>` · `erase <n>`        | Type into a field / delete characters.                        |
| `roveflow find <text>`                      | Find on-screen things by their label.                         |
| `roveflow taptext <text>`                   | Tap something by its label (the reliable way).                |
| `roveflow home` · `button <name>`           | Home screen / hardware buttons.                               |
| `roveflow tree` · `size`                    | List what's on screen / screen size.                          |

Everything Roveflow produces lands in `roveflow-out/` (`screens/`, `videos/`, `journeys.json`, `atlas.html`).
