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

# CLI reference

> Pick the right Momentic CLI for web or mobile testing.

Momentic ships two CLIs. They share a common shape (same flags for config,
dashboard upload, sharding, reporting) but target different platforms.

<CardGroup cols={2}>
  <Card title="momentic" icon="browser" href="/cli-reference/momentic/overview">
    Web test runner: drives Chromium, Google Chrome, and Chrome for Testing.
  </Card>

  <Card title="momentic-mobile" icon="mobile" href="/cli-reference/momentic-mobile/overview">
    Mobile test runner: drives iOS simulators and Android emulators.
  </Card>
</CardGroup>

## Shared flags

Both CLIs accept the same flags for running tests, uploading results, and
reporting:

* `--upload-results`: push run data to the dashboard.
* `--output-dir <dir>`: where to write local results.
* `--shard-index` / `--shard-count`: shard a large test set across jobs.
* `--labels <labels>`: run only tests with matching labels.

See each CLI's `run` page for the full option list:

* [`momentic run`](/cli-reference/momentic/commands/run)
* [`momentic-mobile run`](/cli-reference/momentic-mobile/commands/run)
