Skip to content
NewiPhone Duo, live in your browser. Try it →

Reference CLI

VibeView CLI: Run Mobile Tests from a Terminal

Install the CLI, authenticate, upload a build, and run mobile tests from your terminal or CI job — full command, flag and exit-code reference.

Run VibeView tests from the command line. Integrate with CI/CD pipelines for automated mobile testing.

Quick Start

# 1. Install
npm install -g vibeview

# 2. Log in (opens browser)
vibeview login --base-url https://vibeview.io

# 3. Run your app's tests
vibeview run-checks --app <app_id>

Installation

The CLI is the public npm package vibeview (npm install -g vibeview) and needs Node.js 20 or later. At most once a day, the CLI prints a one-line notice on stderr when a newer version is out. It stays silent in CI, when stderr isn’t a terminal, with --json or --output json/junit, and for vibeview mcp. Set NO_UPDATE_NOTIFIER=1 to turn it off.

Authentication

The CLI looks for your API token in this order:

  1. --token flag on the command.
  2. VIBEVIEW_API_TOKEN environment variable, best for CI.
  3. Config file ~/.vibeview/config.json, saved by vibeview login.

With no token, the CLI exits with an error suggesting one of the three.

The server URL defaults to https://vibeview.io. For a self-hosted or staging instance, pass --base-url to vibeview login (it is stored for later commands) or set VIBEVIEW_BASE_URL.

Commands

login

Log in through your browser and save the token locally.

vibeview login --base-url https://vibeview.io
OptionDescription
--base-url <url>VibeView server URL (defaults to https://vibeview.io)

In the browser, click Authorize only for a request you started from your own terminal. The CLI waits up to 2 minutes, then saves the token to ~/.vibeview/config.json (permissions 0600); it appears in Settings → API token as CLI login. The link works only while your terminal waits, and only one person can approve it. If the page says the code has expired, run vibeview login again.

logout

vibeview logout

Revokes the saved login token and removes it from ~/.vibeview/config.json. A login token stays active until revoked or until you leave or are removed from the organization, so log out (rather than deleting the file) when you’re done on a machine. If the server can’t be reached, the token is removed locally and a warning tells you to revoke it in Settings → API token. Tokens from VIBEVIEW_API_TOKEN or --token are not affected.

whoami

Show who the CLI is authenticated as, and your organization’s plan with this month’s usage and limits.

vibeview whoami [--json]
OptionDescriptionDefault
--jsonPrint the result as one JSON line (email, memberships, role, token_role, effective_role, plan, …)(human output)
--token <token>API token(from auth resolution)

Sample output:

Logged in as  dev@example.com
Organization   Example Inc
Member role    admin
Token role     developer
Effective role developer
Access         Full access
Expires        never
Plan: Solo
Streaming minutes: 412 / 1,000 this month
Build minutes: 37 / 150 this month
Devices at once: 2 (1 in use)
Cloud builds at once: 1 (0 running)
Session length: no limit
Storage: 1.2 / 10 GB
  • Effective role is the lower of your member role and the token’s role: an admin with a developer-role token can’t run admin-only commands such as vibeview env set (whoami suggests an admin API token).
  • Access is Full access or, for a CI-only token, CI only (build and upload apps, submit to stores, run tests, read results). Expires is the token’s expiry date with the days left, or never.
  • Plan lines: no limit where your plan has none, limit unknown when VibeView can’t read it. With a payment overdue or disputed, the plan line reads Plan: <your plan> (Free limits apply until billing is resolved).

In --json: token_access (full or ci), token_expires_at (null for never), and a plan object with id, name, streaming_minutes and build_minutes (used, included), sessions_at_once and builds_at_once (limit, in_use), max_session_minutes (a number), storage_bytes (used, limit), with null for no limit, enforced_name when Free limits apply, and limits_unresolved: true when the limits couldn’t be read (a null limit then means unknown).

A missing or invalid token exits with status 2. See Plan limits for what the CLI says when you reach one.

agent-setup

Install the vibeview-agent skill for your coding agents (Claude Code, Grok Build (formerly Cursor), Codex, VS Code with GitHub Copilot, Gemini CLI, Windsurf, Claude Desktop), optionally add the MCP server to each, and get a suggested line for your project’s CLAUDE.md, AGENTS.md or GEMINI.md. Setting up more than Claude Code needs vibeview 0.72 or later (npm i -g vibeview@latest).

vibeview agent-setup
OptionDescription
--agent <names>Set up these agents without asking, comma-separated: claude-code, cursor, codex, vscode (or copilot), gemini, windsurf, claude-desktop
--allSet up every supported agent found on this computer, without asking
--projectInstall into this project (its skill folders and, where the agent has one, its project MCP config) instead of your home directory
--mcpAdd the MCP server for the chosen agents without asking; exits 1 if it couldn’t be written for one (a differently set up vibeview server already there is left alone, not an error)
--no-mcpSkip MCP registration

With none of --agent, --all, --mcp or --no-mcp, a terminal run asks which agents to set up (those it found are ticked, else Claude Code). --agent and --all ask nothing and add the MCP server only with --mcp. Just --mcp or --no-mcp, or no terminal, sets up Claude Code only. See AI Agent Control.

dev

Stream your app from a live device with Metro hot-reload, for local React Native development. See the Live Development guide for the full workflow.

vibeview dev
OptionDescriptionDefault
--token <token>API token(from auth resolution)
--platform <platform>ios, android, tvos, androidtv, or roku(asked interactively on first run)
--app <app_id>Uploaded debug build to run (see vibeview list-apps)(asked interactively on first run)
--buildRun the development profile’s build command and upload the result before starting the session(off)
--build <id>Run this uploaded build (ids from vibeview list-builds <app>): a debug build of the app for the platform, or any build with --standalone (see below). Not available on Roku(latest debug build)
--standaloneRun the build as it is, with no Metro (no hot reload): a release, CI or cloud build you just want to open. Without --build <id>, the newest release build. A Flutter, Capacitor or native (not React Native) project, phone or TV, always runs this way. Not available on Roku(off)
--metro-port <port>Local Metro port. Remembered for you in .vibeview/local.json, never written to vibeview.jsonvibeview.json’s port, else 8081
--device-category <category>phone or tablet (TV platforms always use a TV device)phone
--model <name>Run on this exact device model, e.g. "iPhone Duo" (names from vibeview list-devices --models). It sets the category (a --device-category passed too must agree); not saved to vibeview.json(any phone that doesn’t fold)
--no-openDon’t open the browser automatically(opens by default)
--detachRun the session in the background and exit after printing its details. vibeview dev-status shows it and the build on the device, vibeview dev-stop ends it, and on Roku vibeview dev-reload reloads the channel. If the background process exits, the session ends within about 90 seconds unless a browser tab watches it; an unused one ends at the idle timeout(foreground)
--jsonEmit line-delimited JSON events instead of human output(human output)
--watch [seconds]Roku only: reload automatically once file changes settle, after the given quiet period(off; a bare --watch waits 2 seconds)
--roku-debugRoku only: debug your channel from VS Code with the BrightScript Language extension; see Debugging from VS Code. Can’t be combined with --watch, --build or --standalone(off)
--debugLog raw tunnel lifecycle events for diagnostics(off)

Examples:

vibeview dev --platform ios --app abc123     # pin the platform and app, no prompt
vibeview dev --build                         # rebuild and upload after a native change, then start

vibeview list-builds abc123                  # find the build id; KIND must be "debug"
vibeview dev --platform ios --app abc123 --build 4812 --detach --json   # an older build, in the background

vibeview dev --standalone --platform ios --app abc123 --build 4790      # a release or cloud build, no Metro

First run. The first vibeview dev in a project asks for the platform, an optional build command and an optional command that starts Metro, offering a detected default for Expo and React Native projects (and from CLI 0.42.0 for Flutter, Capacitor and native Xcode or Gradle projects). A skipped prompt prints the vibeview.json keys to add later. The build command becomes the platform’s development build profile.

For a React Native or Expo project on iOS or Android, accepting the detected command also saves a preview profile: the same build in Release with the JavaScript inside, which runs without Metro (for share links, tests, collaborators and GitHub pull requests). The CLI says when it saves one; when it doesn’t (a build command you typed yourself, or an Android release build that doesn’t use the debug key), it says how to add one later.

Without an interactive terminal, or under --json, there are no prompts: it uses --platform and --app (writing vibeview.json from them) or saved values, and otherwise exits with a {"event":"error","code":"config_required",...} line naming the missing flag.

With no app to run for the platform yet, it builds and uploads one if a build command is configured (asking first whether to reuse an upload when you have apps of your own; --build always builds), or tells you how to upload one. The sample apps every account starts with don’t count, but one you pass with --app still runs.

It then starts a device session, connects your local Metro to the app on the device, and opens the session in your browser. Ctrl-C ends it.

Which build runs. The app’s latest debug build (Android debug .apk or iOS simulator build). With none, or one that can’t be installed (for example an Android build without x86_64), it stops with a message: upload one with vibeview build or upload-app, or rebuild with x86_64.

  • If the project’s app version can be read (Expo config, including a dynamic app.config.ts when Expo is installed, or the native project) and only an older debug build has it, that build runs and the CLI says why.
  • At start it prints the installed build, the newest debug build of each other version and the project’s React Native version (build on session_ready in --json). A red error screen right after start can mean the build came from other native code: run a build of your project’s version with --build <id>.
  • --build <id> must be a React Native debug simulator or emulator build that loads its JavaScript from Metro (one that also embeds its bundle, as Expo projects without expo-dev-client do, counts). A build of another app or outside your organization, a release build, an undetected kind or another platform than --platform stops it before a session starts.
  • With --build <id> and no app for the platform in --app or vibeview.json, it runs the build’s app and saves it in vibeview.json; with no --platform and no saved default platform it uses the build’s platform (CLI 0.69.0 and later).

Your own settings. Choices are remembered per platform in vibeview.json, so one project can hold a phone app and a TV app; a bare vibeview dev reruns the platform you used last. Since teams commit vibeview.json, later flags never rewrite it: a --metro-port, and a --platform, --app or --device-category that differs from it, are saved for you alone in .vibeview/local.json. A flag wins over .vibeview/local.json, which wins over vibeview.json; passing the value vibeview.json has removes the override.

The CLI keeps .vibeview/ out of git with its own .vibeview/.gitignore (except test-spec.json, which you commit). vibeview.json only gains what it lacks (a new platform’s entry and app, or a new pick when the configured app was deleted), and each change is printed, for example Updated vibeview.json: platforms.android.appId (added) atlas-and.

{
  "defaultPlatform": "android",
  "metroPort": 8081,
  "metroCommand": "yarn start",
  "platforms": {
    "android": {
      "appId": "myapp-a1b2c3",
      "deviceCategory": "phone",
      "build": {
        "profiles": {
          "development": {
            "command": "cd android && ./gradlew assembleDebug",
            "artifact": "android/app/build/outputs/apk/debug/*.apk"
          }
        }
      }
    },
    "androidtv": { "appId": "myapp-tv-d4e5f6" }
  }
}
  • Without defaultPlatform, the first platform listed is the default.
  • metroPort and metroCommand are added only to projects that use Metro. A Flutter, Capacitor or native (not React Native) app, phone or TV, runs as it is, as with --standalone, without starting or checking Metro; a Roku session reloads the channel instead. A value you wrote yourself always stays.
  • The profiles form needs CLI 0.51.0 or later; older CLIs read build.command and build.artifact, which still work as the development profile.
  • metroCommand and metroPort inside a platform’s entry override the top-level values:
{
  "defaultPlatform": "ios",
  "metroCommand": "yarn start",
  "platforms": {
    "ios": { "appId": "myapp-a1b2c3" },
    "tvos": { "appId": "myapp-tv-d4e5f6", "metroCommand": "yarn start:tv", "metroPort": 8082 }
  }
}

When a dev session is idle

A dev session stays up while it is used: touching the device in the browser, speaking into its microphone, a test step, an agent’s tap, typing, swipe or button press, or an app reload when you save a file (on Roku, a channel reload). A running vibeview dev, a stream nobody touches, and reading the screen, UI tree, logs or network requests don’t count. After your organization’s idle timeout (15 minutes by default) with no use, it ends.

About a minute before, vibeview dev and the browser tab warn, for example Session ends in 52 s: use the device or save a file to keep it (idle timeout: Settings > Session defaults) (idle_warning event in --json). When a session ends, vibeview dev says why (session_ended with reason and reason_code, for example inactivity_timeout). An organization administrator changes the timeout in Settings > Session defaults.

Running on a foldable

The iPhone Duo (iOS) and Android foldables such as the Pixel 9 Pro Fold have a cover screen and a larger inner screen. A session or run that asks only for a phone or tablet never gets one, even when it’s the only free device; pass its model name:

vibeview list-devices --models          # foldables are marked "foldable"
vibeview dev --platform ios --model "iPhone Duo"
vibeview dev --platform android --model "Pixel 9 Pro Fold"

An unavailable model stops dev with the models you can use. The session starts closed, on the cover screen. Fold and rotate it:

vibeview set-posture open               # closed, partial, or open
vibeview set-posture --angle 75         # any whole angle from 0 (shut) to 180 (flat)
vibeview rotate                         # iPhone Duo: a quarter turn clockwise
vibeview rotate --degrees 270           # iPhone Duo: a quarter turn back; 180 turns it upside down

Each command prints the resulting posture, angle and lit screen, or orientation. Each device names angles by its own ranges (160 degrees is partial on the iPhone Duo, open on the Pixel 9 Pro Fold). An Android foldable rotates like a phone. See Agent Control.

Metro auto-start

vibeview dev checks whether Metro answers on the configured port first:

  • A Metro (or Metro-compatible packager) already running is used as-is and never touched.
  • Otherwise, with a metroCommand, vibeview dev starts it (output prefixed [metro]) and stops it when the session ends; switching to a platform with another Metro command restarts it.
  • With no metroCommand, it stops with an error telling you to start Metro or add metroCommand to vibeview.json.

Roku

vibeview dev --platform roku streams a Roku channel with a reload loop instead of Metro. The first run asks for the development profile under platforms.roku.build.profiles, which every reload uses: command packages your channel into a zip, and artifact is that zip’s path.

{
  "defaultPlatform": "roku",
  "platforms": {
    "roku": {
      "appId": "mychannel-a1b2c3",
      "build": {
        "profiles": {
          "development": {
            "command": "npm run package",
            "artifact": "out/channel.zip"
          }
        }
      },
      "watchIgnore": ["docs", "tests/fixtures"]
    }
  }
}
Key (no Enter needed)Action
rRe-package, upload and reload the channel into the session you’re watching; it restarts on the device a few seconds later. A repeat r during a reload is ignored
q (or Ctrl-C)End the session
vibeview dev --platform roku --watch      # reload on save, after 2 quiet seconds
vibeview dev --platform roku --watch 5    # after 5 quiet seconds
  • --watch skips the zip your command produces; watchIgnore (above) adds paths relative to the project root. If your packaging command writes working files into a watched folder, the channel keeps reloading: add that folder to watchIgnore.
  • The packaging command must produce a zip, not deploy to a device. A failed reload leaves the session running: fix it and press r again.
  • If the channel fails to install at session start, or the session ends while you watch, vibeview dev says why and exits.
Debugging from VS Code

vibeview dev --roku-debug lets the BrightScript Language extension for VS Code debug your channel on the VibeView Roku session. Run it in your channel project:

vibeview dev --roku-debug

It adds a VibeView: debug on Roku entry to .vscode/launch.json (keeping your other configurations), starts the Roku session (or finds the project’s running one), prints the link to watch it, and keeps running. Then start debugging in VS Code with VibeView: debug on Roku: VS Code packages and installs the channel, so there is no r key, no --watch and no build profile needed.

  • Ports 8060, 80, 9801, 9803 and 9805 must be free on your computer. On Linux, or when another program uses port 80, the extension fails at its password check.
  • --detach, vibeview dev-stop and vibeview dev-status work as for any dev session. A project with no VibeView app yet gets one at the first debug start.

See Debugging a channel in VS Code for what works, what doesn’t, and how it affects builds and the idle timeout.

build

Run your configured build command and upload the result: the step vibeview dev --build runs before a session, on its own for CI or a manual rebuild.

vibeview build
vibeview build --cloud --profile preview

It runs a build profile from platforms.<platform>.build in vibeview.json (a command run from the project root and the artifact path it produces): development unless you pass --profile <name>. A signed production profile builds only with --cloud. The output streams to your terminal, then the artifact is uploaded and its app id saved as the platform’s appId, so the next vibeview dev picks it up.

The artifact path may end in a * filename glob (for example android/app/build/outputs/apk/debug/*.apk; the most recently modified match is uploaded), and a matched .app directory is zipped first.

  • Missing profile: the CLI says what the profile is for and prompts for it, with a detected default as vibeview dev offers, then prints what it saved: commit vibeview.json so your team and CI build the same way. Under --json or without a terminal it is an error: no "<name>" profile for <platform>: add platforms.<platform>.build.profiles.<name> {command, artifact} to vibeview.json.
  • Cloud checks: with --cloud, it stops when the command needs a package.json the directory lacks, and warns when the command never installs your dependencies (Cloud Builds). For an Expo project never built on VibeView, it also asks for a missing store id and for EXPO_PUBLIC_ values a release build won’t have; without a terminal it only warns (Expo managed projects).
OptionDescriptionDefault
--token <token>API token(from auth resolution)
--platform <platform>ios, android, tvos, androidtv, roku, tizen (Samsung TV) or webos (LG TV) (Samsung and LG TVs). With --cloud, all builds every configured platform that has the profile (without a terminal or with --json, platforms without that profile are skipped; otherwise the CLI asks for it)vibeview.json’s defaultPlatform
--jsonPrint the result as one JSON line (app_id, name, platform)(human output)
--cloudBuild in the cloud (Cloud Builds)(local build)
--profile <name>development, preview, production, or one of your owndevelopment
--production--cloud only (or with --zip for Roku): same as --profile production, a signed release artifact (a Channel Store .pkg for Roku); see App Signing(simulator/emulator build)
--xcode <version>--cloud, iOS and tvOS: the Xcode version for this run (for example 27.1)(xcode in vibeview.json, else the default)
--node <major>--cloud: the Node.js major version for this run (for example 24)(node in vibeview.json, else .nvmrc / .node-version, else Node.js 22)
--no-wait--cloud or --zip: print build ids and exit. With --auto-submit, the build still goes to its store; with --new-key, save the key’s backup from the build page(wait)
--download--cloud only: download each succeeded build’s artifact (implies wait). --zip always downloads the .pkg(no download)
--zip <file>Roku production builds: sign a channel zip you built for the Channel Store, wait, and download the .pkg (no --cloud needed) — see Roku signing(none)
--app <id>With --zip: the app to sign it for(platforms.roku.appId, else the app the zip names)
--key <file>With --zip: sign this build only with the key in this .pkg (one you signed with it before), never stored. The password comes from VIBEVIEW_ROKU_KEY_PASSWORD, or a hidden prompt(the stored key)
--dev-id <id>With --key: fail the build unless the key has this Dev ID(no check)
--new-key <name>Roku production builds: Roku makes a new key with this name; on success its backup (<name>-roku-key.zip) is saved and its password printed once. Not with a CI token or --key(none)
--org-keyWith --new-key: share the new key with all your Roku apps (apps signed with the same key share the data they save on a viewer’s Roku)(this app only)
--out <dir>Where downloaded artifacts, signed .pkg files and a new key’s backup go(current folder)
--auto-submit--cloud production builds only (CLI 0.62.0 or later): send each succeeded build to its store with the vibeview submit settings in vibeview.json, then follow the submission(no submission)
--what-to-test <text> / --what-to-test-file <path>With --auto-submit, iOS and tvOS: TestFlight What to Test notes (external groups need them)(none)
--release-notes <text> / --release-notes-file <path>With --auto-submit, Android and Android TV: Google Play or Amazon Appstore release notes(none)
--store <store>With --auto-submit, Android and Android TV: play or amazon (needs release notes and an .apk build)play

Capture the app id in CI:

APP_ID=$(vibeview build --platform android --json | jq -r .app_id)

builds

Manage cloud builds: vibeview builds list | logs <id> [--follow] | download <id> [--out <dir>] | cancel <id> | delete-artifact <id>.

  • builds list shows each build’s creation time in UTC, its cost (- while queued or running, then the final amount, $0.00 for a build that cost nothing) and, last, its profile (development, preview, production or your own; a build started by a CLI older than 0.51.0 shows simulator or production).
  • delete-artifact removes a production build’s stored artifact file. It can’t be undone; the build record, logs and cost stay.

See Cloud Builds for configuration, billing, and limits.

credentials

Manage signing credentials used by vibeview build --cloud --production:

vibeview credentials add --platform ios --file cert.p12 --profile app.mobileprovision [--app <id>]
vibeview credentials add --platform android --file release.jks [--app <id>]
vibeview credentials add --platform tizen --author author.p12 --distributor distributor.p12 [--app <id>]
vibeview credentials list [--app <id>]
vibeview credentials rm <name> [--app <id>]
  • --platform for credentials add is ios, tvos, android, roku or tizen (Samsung TV: your author and distributor certificates from Samsung’s Certificate Manager, with --author and --distributor in place of --file; CLI 0.80.0 or later, see Samsung TV).
  • Passwords are prompted for with hidden input; there is no password flag. See App Signing & Production Builds.
  • rm, add over an existing name, and generate --force stop when they would delete or replace a key VibeView generated that signed a build and nobody has downloaded. Download it first (a keystore with vibeview credentials download <name>), or pass --confirm-signing-material-loss (CLI 0.78.0 or later). See A generated signing key nobody downloaded is protected.

The store keys vibeview submit uses are managed the same way:

vibeview credentials asc-key add|list|rm      # App Store Connect (TestFlight)
vibeview credentials play-key add|list|rm     # Google Play service account
vibeview credentials amazon-key add --client-id <id> [--name <name>]
vibeview credentials amazon-key list
vibeview credentials amazon-key rm <name>
vibeview credentials asc-key test <name>     # Test connection (CLI 0.56.0 or later)
vibeview credentials play-key test <name>
vibeview credentials amazon-key test <name>
  • amazon-key add stores the client ID and secret of an Amazon security profile attached to the App Submission API. The secret is prompted for (or read from stdin when piped), never a flag, and never shown again; the same name again replaces the key. --name defaults to amazon. See Store Submission.
  • Adding and removing store keys needs the Admin role.
  • test is Test connection: it prints OK: or Failed: with the store’s answer and exits 0 or 1 (CLI 0.56.0 or later). It needs the Developer role and a full-access token.

submit

Submit a succeeded production cloud build to TestFlight (ios/tvos), a Google Play track, or Amazon Appstore review (android/androidtv):

vibeview submit --platform ios --latest
vibeview submit --platform ios --latest --group "QA team" --group "Beta testers" \
  --what-to-test "Try the new checkout" --no-uses-encryption --wait-distribution
vibeview submit --platform android --latest --track internal --release-notes "Bug fixes"
vibeview submit --platform android --latest --release-notes-file notes.txt --notes-dir notes/
vibeview submit --platform androidtv --store amazon --latest --release-notes "Bug fixes" \
  [--amazon-app-id <id>] [--discard-open-edit]
vibeview submit --check --platform androidtv --store amazon [--amazon-app-id <id>]
OptionDescriptionDefault
--platform <platform>ios, tvos, android, or androidtv
--build <id> / --latestThe cloud build to submit, or the newest succeeded production build for --platform (with --store amazon, the newest production .apk build). Pass exactly one
--store <store>android/androidtv only: play (Google Play) or amazon (Amazon Appstore, .apk builds only; reaches Fire TV and Fire tablets)play
--amazon-app-id <id>--store amazon only: the Amazon App ID (Developer Console → your app → Upload Your App File → Additional information); saved on the app for later submits(the App ID saved on the app)
--release-notes <text>android/androidtv only. Google Play (CLI 0.55.0 or later): optional, up to 500 characters, in your listing’s default language. --store amazon: required, written to every language of the listing
--release-notes-file <path>Same as --release-notes, read from a UTF-8 file (pass one or the other; CLI 0.55.0 or later)
--notes-dir <dir>ios/tvos and Google Play (CLI 0.58.0 or later): notes in languages other than the default one, one <code>.txt file per language (for example notes/de-DE.txt). Pass the default note’s flag too. See Notes in other languages
--discard-open-edit--store amazon only: discard an edit already open in the Amazon Developer Console(stop instead)
--track <track>Google Play only: internal, alpha, beta, or productioninternal
--release-status <status>Google Play only: completed, draft, or inProgressdraft on production, completed on the others
--rollout <fraction>Google Play only: staged-rollout fraction, 0 < f < 1 (requires --release-status inProgress)
--changes-not-sent-for-reviewGoogle Play only (CLI 0.56.0 or later): save the release in Play Console without sending it for review, like Don’t send for review in the dashboard (usually after a rejected update, when Google asks you to send changes from Play Console)(send for review, unless changesNotSentForReview is true in vibeview.json)
--package <name>Google Play only: package name, for a build not linked to an app
--asc-key <name>ios/tvos only: which stored App Store Connect key to use(the only stored key)
--group <name>ios/tvos only (CLI 0.55.0 or later): a TestFlight group to send the build to, by its name in App Store Connect; repeat it for several. Replaces the groups in vibeview.json(the vibeview.json groups, else none)
--what-to-test <text>ios/tvos only (CLI 0.55.0 or later): the What to Test notes testers see, up to 4,000 characters. Required when a group is external
--what-to-test-file <path>Same as --what-to-test, read from a UTF-8 file (pass one or the other)
--uses-encryption / --no-uses-encryptionios/tvos only (CLI 0.55.0 or later): your export compliance answer, whether the app uses non-exempt encryption; saved on the app for later submissions(the app’s saved answer)
--wait-distributionios/tvos only (CLI 0.55.0 or later): keep following TestFlight distribution until it settles (see below). Not with --no-wait or --check(exit when the upload ends)
--checkOnly check that the store knows this app with your stored key (--bundle-id, --package or --amazon-app-id, defaulting to the app linked in vibeview.json; no build needed); exits 0 when ready. For ios/tvos (CLI 0.56.0 or later) it also lists the app’s TestFlight groups, latest build number and what external testers would wait for, and exits 1 for a --group (or vibeview.json group) the app doesn’t have. Not with --what-to-test, --what-to-test-file, --uses-encryption, --no-uses-encryption, --wait-distribution, --changes-not-sent-for-review, --notes-dir or --release-notes-file
--bundle-id <id>ios/tvos, with --check: the bundle identifier to look up
--no-waitPrint the submission id and exit without waiting for completion(wait)
--jsonEmit line-delimited JSON events instead of human output(human output)

A flag for another store or platform is refused before anything is submitted. See Store Submission for the one-time store setup and common refusals.

The dashboard’s saved settings (Builds → Stores) prefill its submit dialog only. The CLI reads vibeview.json.

From CLI 0.56.0, a submit that exits before distribution settles prints the command that keeps following it: vibeview submissions status <id> --wait-distribution (without the flag for Google Play and Amazon). When the build is already being sent to testers, it says how to send it again: vibeview submissions stop <id> first, or, with a CI-only token, a new build with a higher build number.

Notes in other languages

--notes-dir <dir> sends notes in languages other than the default one: a directory with one <code>.txt file per language, for example notes/de-DE.txt. The default-language note still comes from --release-notes/--release-notes-file (Google Play) or --what-to-test/--what-to-test-file (TestFlight), which you pass too. Needs CLI 0.58.0 or later.

  • Each file is read as UTF-8 text and trimmed; an empty file is skipped. Use one flat directory (fastlane’s per-language subfolders aren’t read).
  • Up to 500 characters per language on Google Play, 4,000 on TestFlight, and up to 50 other languages besides the default one.
  • A file whose name isn’t one of the store’s codes below (the command suggests the closest), a note over the limit, more than 50 languages, a non-UTF-8 file, a subdirectory, another extension, or a file for the default language stops the command before submitting. Hidden files (names starting with a dot) are ignored.
  • Google Play needs every language on your store listing (Play Console → Grow users → Store presence → Main store listing → Manage translations). TestFlight testers see the note in their device language, else the default; if App Store Connect refuses a language, the others are still sent and vibeview submissions status shows which wasn’t added.
  • --notes-dir doesn’t apply to --store amazon: Amazon writes one note to every listing language. Notes are never read from vibeview.json.

Google Play language codes: af, sq, am, ar, hy-AM, az-AZ, bn-BD, eu-ES, be, bg, my-MM, ca, zh-HK, zh-CN, zh-TW, hr, cs-CZ, da-DK, nl-NL, en-AU, en-CA, en-US, en-GB, en-IN, en-SG, en-ZA, et, fil, fi-FI, fr-CA, fr-FR, gl-ES, ka-GE, de-DE, el-GR, gu, iw-IL, hi-IN, hu-HU, is-IS, id, it-IT, ja-JP, kn-IN, kk, km-KH, ko-KR, ky-KG, lo-LA, lv, lt, mk-MK, ms-MY, ms, ml-IN, mr-IN, mn-MN, ne-NP, no-NO, fa, fa-AE, fa-AF, fa-IR, pl-PL, pt-BR, pt-PT, pa, ro, rm, ru-RU, sr, si-LK, sk, sl, es-419, es-ES, es-US, sw, sv-SE, ta-IN, te-IN, th, tr-TR, uk, ur, vi.

App Store Connect language codes: ar-SA, bn-BD, ca, zh-Hans, zh-Hant, hr, cs, da, nl-NL, en-AU, en-CA, en-GB, en-US, fi, fr-FR, fr-CA, de-DE, el, gu-IN, he, hi, hu, id, it, ja, kn-IN, ko, ms, ml-IN, mr-IN, no, or-IN, pl, pt-BR, pt-PT, pa-IN, ro, ru, sk, sl-SI, es-MX, es-ES, sv, ta-IN, te-IN, th, tr, uk, ur-PK, vi.

TestFlight distribution

After a TestFlight upload, VibeView follows the build in App Store Connect: processing, export compliance, What to Test notes, your groups and, for external groups, Beta App Review. Follow it on the build’s page (Check again, Stop following) or with vibeview submissions. The TestFlight flags need CLI 0.55.0 or later.

  • --group matches a group’s name in any case; an unknown name is refused with the app’s groups, and a group that already gets every build is skipped. In vibeview.json, platforms.ios.submit (and tvos) takes groups for when you pass no --group, for example "submit": { "ascKey": "team", "groups": ["QA team"] }.
  • An external group needs What to Test notes: without --what-to-test the command stops before uploading. Notes are never read from vibeview.json.
  • --uses-encryption / --no-uses-encryption answer Apple’s export compliance question. When your Info.plist sets ITSAppUsesNonExemptEncryption, Apple uses that value. With no answer anywhere, distribution waits for you on the build page.

Without --wait-distribution, the command exits when the upload ends. With it, the command prints each step as it changes and exits:

ExitWhen
0The build is in TestFlight (with your groups, when you named any), in Beta App Review, or still waiting for Apple’s verdict after 7 days (VibeView keeps checking)
0VibeView isn’t following this upload: TestFlight distribution is not running for this submission (in --json, state uploaded)
0Not settled 2 h 15 min after the wait began: Still going in VibeView, with the build page
1Distribution needs your action (the message says what; from CLI 0.56.0, check again with vibeview submissions check <id>), failed, or was stopped
1Reading the submission failed 5 times in a row, or it no longer exists
1The upload itself failed, for example Apple rejected the binary
2Your API token stopped working during the wait. VibeView keeps following the build

With --json, each change is one line such as {"event":"distribution","id":"sub_…","state":"processing","label":"TestFlight · Processing","steps":{…},"needs_action":null}. state is processing, distributing, available, in_review, waiting_on_apple, needs_action, distribution_failed, stopped or uploaded; needs_action carries code, message and, when sent, title, link and next. At the 2 h 15 min limit, a last line repeats the state with "wait_ended":"ceiling".

submit works in CI with a CI-only token: submit to any track; list, status, logs, check and the encryption answer; not stop.

It uses the store keys saved on VibeView; managing keys and store settings needs a full-access token or the dashboard. When a message names a command a CI-only token can’t run, the CLI adds: These commands need a full-access API token. Add --discard-open-edit to a CI job only if it should discard an edit someone left open in the Amazon Developer Console.

submissions

Follow and act on store submissions, as the build page and the Submissions tab do (CLI 0.56.0 or later):

vibeview submissions list [--app <id>] [--store app_store|play|amazon] [--state <state>] [--build <id>] [--limit <n>] [--cursor <cursor>]
vibeview submissions status <id> [--wait-distribution]
vibeview submissions logs <id> [--follow]
vibeview submissions check <id> [--uses-encryption | --no-uses-encryption] [--wait-distribution]
vibeview submissions stop <id> [--yes]
vibeview submissions add-groups <id> --group <name> [--group <name> ...] [--what-to-test <text> | --what-to-test-file <path>] [--wait-distribution]
  • list: each submission’s id, store, build, state, and when and by whom it was sent, newest first, 50 at a time (up to 200 with only --build); --limit sets another page size, up to 200, and the last line gives the next page’s command. --app defaults to the app linked in vibeview.json when it links only one. --state takes the tab’s State filter values (vibeview submissions list --help lists them). With --json: one object with submissions and next_cursor.
  • status: one submission’s state and steps, what needs your action, and the build page (for Google Play, the release as sent and how to change it in Play Console). --wait-distribution (TestFlight only) follows distribution with the exit codes of submit --wait-distribution.
  • logs: the upload log; --follow keeps reading until the upload ends and exits 1 if it failed.
  • check: Check again. VibeView looks at App Store Connect now, at most once every 30 seconds (sooner prints Checked a moment ago; try again in N s and exits 1). --uses-encryption or --no-uses-encryption also answers export compliance for every build of the app. --wait-distribution then follows distribution (with --json, a check event, then distribution events).
  • stop: Stop following. VibeView stops checking Apple; the build stays in TestFlight. It asks to confirm (without a terminal, pass --yes); no exits 1, Ctrl-C 130. TestFlight only, with a full-access token.
  • add-groups: Send to more testers (CLI 0.59.0 or later). Adds a build already In TestFlight or Available to testers to more groups (name or id) without uploading again; with no new group, it exits 1. For an external group, pass --what-to-test or --what-to-test-file when the build has no notes. Refused while VibeView still follows the build, after Stop following, or once the build expired. A CI token can run it.

<id> is the submission id (sub_…); a build id is refused with That is a build id. and the list --build command to use. vibeview submission … works too.

testflight

An iOS or Apple TV app’s TestFlight settings and details, as in Builds → Stores → your app (the encryption answer under Edit, the rest under TestFlight details):

vibeview testflight encryption [--app <id>] [--uses-encryption | --no-uses-encryption]
vibeview testflight info [--app <id>] [--asc-key <name>]
vibeview testflight set-info [--app <id>] [--asc-key <name>] [--locale <code>] [--description <text> | --description-file <path>] [--feedback-email <email>] [--marketing-url <url>] [--privacy-url <url>] [--tvos-privacy-file <path>]
vibeview testflight set-review-contact [--app <id>] [--asc-key <name>] [--first-name <name>] [--last-name <name>] [--phone <phone>] [--email <email>] [--sign-in-required | --no-sign-in-required] [--sign-in-user <name>] [--sign-in-password-file <path|->] [--notes <text> | --notes-file <path>] [--yes]
vibeview testflight groups [--app <id>] [--asc-key <name>]
vibeview testflight create-group [--app <id>] [--asc-key <name>] --name <name> (--internal | --external)
vibeview testflight add-testers [--app <id>] [--asc-key <name>] --group <name> (--email <email>... | --testers-file <path>)

encryption is new in CLI 0.56.0; info, set-info, set-review-contact, groups, create-group and add-testers are new in CLI 0.57.0. --app defaults to the iOS app linked in vibeview.json, then the tvOS one (pass --app when they differ). --asc-key defaults to the ascKey in that app’s vibeview.json submit settings, else your organization’s only key. Everything is read from and written to App Store Connect at once. Every command takes --json.

  • encryption: shows the app’s saved export compliance answer, or with a flag saves it for every build and resumes the submissions waiting for it. A build whose Info.plist sets ITSAppUsesNonExemptEncryption answers for itself: Apple uses that value.
  • info: test information per language, the Beta App Review contact, whether a sign-in password is set, the groups, and what is missing before external testing, with the command that fixes each. Exits 1 when App Store Connect couldn’t be read in full.
  • set-info: one language’s beta test information (--locale defaults to the primary language). Apple needs a description in every language and a feedback email in the primary one before external testing. --tvos-privacy-file is for Apple TV apps. Only the fields you pass change; Apple doesn’t let a field be emptied once it has text.
  • set-review-contact: the contact Apple’s reviewers use. With --sign-in-required, give --sign-in-user and the password, never on the command line: --sign-in-password-file <path> (- reads a pipe) or VIBEVIEW_TESTFLIGHT_SIGN_IN_PASSWORD, not both. VibeView sends it to Apple and doesn’t keep it. The variable counts only when the command sets the sign-in account or changes nothing else, so a pipeline can set it for every step. --no-sign-in-required removes the sign-in account after asking (--yes without a terminal).
  • groups lists the app’s groups; create-group makes an internal or external group (1 to 50 characters; internal groups take App Store Connect users only).
  • add-testers: adds people by email to an external group (name or id): repeat --email, or pass --testers-file with one email or email, first name, last name per line. Up to 100 testers at a time. Each gets a line: added, invited (Apple emails them once a build is available), already in, refused with the reason, may have been added (sending again never adds anyone twice) or not sent. Add internal testers in App Store Connect.

A flag given an empty value is an error. A submission waiting for these details picks them up within 30 minutes, or now with vibeview submissions check <id>. A CI-only token can read (encryption, info, groups) and answer encryption; the other changes need a full-access token.

env

Manage build variables and secrets used by cloud builds:

vibeview env list [--app <id>] [--profile <name>] [--json]
vibeview env set NAME [VALUE] [--secret|--sensitive|--plain] [--file <path>] [--app <id>] [--profile <name>]
vibeview env rm NAME [--app <id>] [--profile <name>]
vibeview env pull [--app <id>] [--profile <name>] [--out .env]

--profile <name> limits a variable to one build profile from vibeview.json (CLI 0.53.0 or later):

  • env set --profile preview stores a value only preview builds get.
  • env list --profile preview shows what can apply to a preview build (its own variables and the All-profiles ones).
  • env rm NAME --profile preview removes the preview one (without --profile it removes the All-profiles one).
  • env pull --profile preview writes the values a preview build gets.

See Build Variables & Secrets for visibility levels, scopes, profiles, file variables, limits, and log masking.

run-checks

Run an app’s tests, or some of its groups, and wait for the results.

vibeview run-checks --app <app_id> [options]

# Every test of the app and of the apps linked to it, on the build this job made
vibeview run-checks --app a1b2c3d4 --build 142 --commit-sha $(git rev-parse HEAD) --output junit

# Two groups, one after another
vibeview run-checks --app a1b2c3d4 --group Login --group "Checkout flow"

# The same tests on iOS and Android, at the same time
vibeview run-checks --app a1b2c3d4 --platform ios --platform android
OptionDescriptionDefault
--app <app_id>The app (required). Its tests run, and those of the apps linked to it with the same form factor
--group <name-or-id>Only the tests of this group; repeat it for more (up to 20)(all tests)
--tests <ids>Only these tests, by ID, separated by commas. Not together with --group(all tests)
--platform <platform>Run on this platform: ios, android, tvos, androidtv, roku, tizen, webos or vega. Repeat it to run on several, one device each. The run installs the linked app on that platform, else the app with the same bundle id / package name(the app’s own)
--device <device_id>Run on a specific device (see list-devices). Not together with --device-category or several platforms(any)
--device-category <category>phone, tablet or tvtv for a TV platform, else phone
--build <id>Build to run against: the numeric ID in list-builds, also printed by upload-app. Not together with several platforms(latest that runs without Metro)
--commit-sha <sha>Git commit for GitHub status checks(none)
--start-state <state>What each test starts from: none, relaunch, clear_data or reinstall(each test’s own)
--mode <mode>AI use: hybrid (Smart) or ai (AI only)hybrid
--model <model> / --provider <provider>AI model and provider(server default)
--metadata <json>JSON object passed through unchanged to webhook payloads (e.g. PR context)(none)
--metadata-file <path>Read the metadata JSON object from a file; use it for nested JSON in CI(none)
--retryRetry a failed test once, on the same device after a fresh start of the app; a pass on the retry marks the test flaky (see Retries)(no retry)
--fail-fastRun no further test on a device once one failed there(run all)
--timeout <seconds>Max wait for the whole run, queue wait plus execution (1 to 7200). Then the run is cancelled3600
--output <format>human, json or junithuman
--token <token>API token(from auth resolution)

The run’s link is printed first, on stderr. Exit codes: 0 every test ran and passed, 1 a test failed, 2 the run could not complete (refused, an error, a timeout, a cancel, or a test that did not run), 130 after Ctrl-C, which cancels the run.

list-groups

List the groups run-checks --group takes: an app’s own, and those of the apps linked to it with the same form factor.

vibeview list-groups --app a1b2c3d4
ID      NAME        PLATFORM  TESTS
abc123  Login flow  ios       4
def456  Checkout    android   6

--output json prints an array of id, name, platform and tests.

Deprecated: run-suite, run-suites, list-suites

These commands keep working for now, and print a line on stderr that names the replacement. (They call a group a suite.) Tags can no longer be added or changed: run-suites --tag runs the groups that already have the tag, at the same time, up to the devices your plan runs at once.

BeforeNow
vibeview run-suite <group-id>vibeview run-checks --app <app_id> --group <group-id>
vibeview run-suites --tag smokevibeview run-checks --app <app_id> --group Login --group Checkout
vibeview list-suitesvibeview list-groups --app <app_id>

See Moving to run-checks for what changes in a pipeline.

explore

Run Explore on a build and exit by what it found. Use it to gate a deploy or a nightly job on new problems.

vibeview explore --app <app_id> [options]
vibeview explore --app app_123 --build 142 --minutes 10 --fail-on new
OptionDescriptionDefault
--app <app_id>The app to explore (required)
--build <id>A specific build, from list-buildsThe app’s newest build
--minutes <n>Run length: 5, 10, 20, 30, 40 or 60. A length your plan does not allow is refused.Your plan’s default
--goal <text>What to look at, at most 1000 charactersNone
--strongerUse the stronger, more expensive modelOff
--device <model>Device modelAny available
--device-category <category>phone, tablet or tv
--fail-on <level>new fails on new findings and ones that came back; any also fails on known bugs seen again; never never fails a run that finishednew
--output <format>human, json or junithuman
--timeout <seconds>How long to wait, queue included(minutes + 30) x 60

The command prints the run link first, then one line per finding, the re-check results and a summary. --output json prints the run as one document with an exit_code field; --output junit has one test case per finding, failing for the ones at or above --fail-on, or one passing explore case when there are none.

Exit codes: 0 finished with nothing at or above --fail-on, 1 finished with something at or above it, 2 the run could not finish (refused, errored, cancelled, stopped early, timed out). On a timeout or Ctrl-C the run is cancelled. Explore runs bill as they do from the dashboard.

run-test

Run a single test case and wait for results.

vibeview run-test <test-id> [options]
vibeview run-test test-789 --mode ai --output json
vibeview run-test test-789 --build 142   # pin a specific build

run-test takes the same options as run-checks, except --group, --tests, --start-state and --fail-fast, and with these differences:

OptionDescriptionDefault
--verboseShow step detailsfalse
--timeout <seconds>Max wait time, queue wait plus execution1800
--platform <platform>Run the test on another platform: ios, android, tvos, androidtv, roku, tizen or webos — see Run on another platform(the test’s platform)
--app <app_id>Run the test against this app instead of its own, e.g. the other platform’s build when its bundle id differs(the test’s app)

The build id is the numeric ID in vibeview list-builds <app_id>; upload-app prints it too. If the test case has no app attached, --build returns an error.

Over MCP, a coding agent uses create_test, run_test, run_group and get_run. run_group always starts and stops its own device, and so does run_test with no session_id; only run_test takes a session_id, to run on a session you hold. See AI agent control.

Run on another platform

A test made for iPhone runs on Android (and Apple TV on Android TV). Upload the other platform’s build as its own app, then pass --platform:

vibeview run-test test-789 --platform android
vibeview run-checks --app app-123 --platform android

VibeView installs the Android app linked to the test’s app as the same product (see Same app on other platforms), or else the Android app with the same bundle id / package name. The result is stored on the same test. If no app or more than one matches, the command stops before taking a device. A phone test never runs on a TV app, or the reverse.

  • run-test prints the app it picked (App: atlas-and (Android)). If it can’t pick one, pass it with --app <app_id> instead of --platform. --build <id> then names a build of that app.
  • run-checks always needs --app, which says whose tests run. If it can’t pick the app for a platform, link your apps as one product. --build <id> names a build of the app it installs.

Builds that need a Metro dev server

A React Native debug build with no JavaScript bundle inside needs a Metro dev server, which a test run doesn’t have, so the app stops at its error screen. Without --build, a run skips these builds. run-test installs one anyway when you pass it with --build or when every build needs Metro, and run-checks only when you pass it (it is refused when every build needs Metro). They warn right after starting:

warning: Build 1.0.0 (1) of Kitlist is a debug build of a React Native app ...

For run-test it is also build_warning in --output json and a vibeview.build_warning property in --output junit. The run still starts. Upload a release build of the app, or pass --build with the id of one (see vibeview list-builds).

When the device pool is busy

If no matching device is free, VibeView queues the run instead of failing, and the CLI’s spinner shows your position:

Queued — position 3 in line for iPhone 15 Pro (tap-pool-01)

When VibeView can tell why, the CLI also prints the reason on stderr (once, and again if it changes), so CI logs show it:

⏳ Waiting for a device: All devices are in use right now.

The reasons: every matching device is in use; a device is being prepared; or every device your plan runs at once is in use, and the run starts when one of your sessions ends (it waits up to 30 minutes). --timeout covers queue wait plus execution, so set it generously; on Ctrl+C or --timeout the CLI gives up its place. With --device <id>, only people waiting for that device count.

When VibeView is busy

VibeView may answer “busy, try again in a moment” (HTTP 503 with Retry-After) and do nothing. From CLI 0.77.0, the CLI waits and sends the request again, for up to a minute (the MCP server’s tools up to 20 seconds); a start refused by the rate limit is waited out too. A started run never waits past its --timeout. The first wait prints on stderr (not with JSON or JUnit output):

VibeView is busy; retrying for up to 60s...

Still busy, the command fails with exit code 2, VibeView’s error and how long it waited. An upload is never sent twice, and a start that times out or loses its connection fails at once. Earlier CLI versions fail at once with exit code 2.

upload-app

Upload an app build. If an app with the same bundle/package ID and platform exists, the build is added to it.

vibeview upload-app <file> [options]

Supported files:

PlatformFile
iOS, tvOSA .app simulator bundle: the .app folder itself (the CLI zips it), or a .zip, .tar.gz or .tgz of it. .ipa files are rejected: simulators need simulator .app builds, not device .ipa archives
Android, Android TV.apk
RokuThe channel’s sideload .zip
Samsung TV.wgt
LG TV.ipk

See Preparing Your App Build for how to produce these files.

OptionDescriptionDefault
--token <token>API token(from auth resolution)
--output <format>Output format: human, jsonhuman
--name <name>App name (auto-detected from binary if not provided)(auto-detected)
--note <text>Note stored on the uploaded build, shown with the build in the dashboard(none)

The terminal shows upload progress, then Checking the build... while VibeView checks it. With --output json, only the final JSON is printed:

vibeview upload-app ./build/MyApp.zip --note "nightly from main" --output json
{
  "app_id": "abc123",
  "name": "MyApp",
  "package_name": "com.example.myapp",
  "platform": "ios",
  "is_new": false,
  "build_id": 4812,
  "version": "1.4.0",
  "build_number": "57",
  "deduplicated": false,
  "note": "nightly from main",
  "url": "https://vibeview.io/apps/abc123",
  "warnings": []
}

Use the app ID with create-test --app and dev --app, and the build ID wherever a command takes --build. A file identical to a build you already uploaded creates no new build: build_id is that build and deduplicated is true (a --note is saved on it).

create-test

Create an AI test case, optionally in groups, with steps inline, from a file, or on stdin.

vibeview create-test [name] [options]
OptionDescriptionDefault
[name]Test case name (positional argument)CLI Test
--token <token>API token(from auth resolution)
--output <format>Output format: human, jsonhuman
--app <id>App ID (from vibeview list-apps) or package name (requires --platform)(required)
--platform <platform>Platform (ios, android) when using package name for --app(optional)
--steps <json>Test steps as inline JSON array(one of steps/steps-file/stdin required)
--steps-file <path>Path to JSON file containing test steps(optional)
--context <text>Additional context for AI test execution(optional)
--test-name <name>Test case name (alternative to the positional argument; the positional wins if both are given)CLI Test
--group <id...>Group IDs to add the test to (repeat the flag or list several), of the same app as --app; listed under groups in JSON(none)
--if-exists <mode>When a test with this name exists for the app (outside any group, or in a --group group): fail refuses, update overwrites it, new creates another beside it(reuse an identical test, refuse a different one with exit code 1)

Steps are a non-empty JSON array of plain-English instructions, each a string or an object with a text field:

["Open the app", "Tap Login", {"text": "Verify the home screen shows"}]

A step using a {{key}} the app has no test data value for prints a warning such as warning: Steps use {{pin}}, which has no value for Kitlist. (warnings in JSON); the test is still saved. run-test warns the same way. See When a key has no value.

Exit codes: 0 when the test was created, updated or reused; 1 when a test with that name is refused (see --if-exists) or for an unknown option; 2 for anything else (no or unreadable steps, an unknown app or group, a network or server error, a token problem).

# Inline steps
vibeview create-test --app abc123 --steps '["Open the app", "Tap Login"]'

# From a file, with the name as a positional argument
vibeview create-test "Login Flow" --app abc123 --steps-file ./test-steps.json

# Piped from another tool
echo '["Verify the onboarding screen shows"]' | vibeview create-test --app abc123

# Add the test to two groups
vibeview create-test "Login Flow" --app abc123 --steps '["Tap Login"]' --group smoke nightly

list-apps

List all apps in your organization, each followed by its dashboard link.

vibeview list-apps [options]
OptionDescriptionDefault
--token <token>API token(from auth resolution)
--output <format>Output format: human, jsonhuman
  2 app(s)

  abc123  MyApp [ios]  com.example.myapp
    https://vibeview.io/apps/abc123
  def456  MyApp [android]  com.example.myapp
    https://vibeview.io/apps/def456

list-builds

List an app’s uploaded builds, newest first: the build ids dev --build, run-checks --build and run-test --build take.

vibeview list-builds <app_id> [options]
OptionDescriptionDefault
--jsonPrint a JSON array (id, version, build_number, platform, kind, is_debug, can_use_metro, uploaded_at, note, and, when reported, keep, keep_reason, expires_on, expired, file_expired_at, restorable_until, pins)(human output)
--token <token>API token(from auth resolution)
ID    VERSION     PLATFORM  KIND     UPLOADED                 EXPIRES     NOTE
4812  1.4.0 (57)  ios       debug    2026-09-24 10:12:03 UTC  —           login fix
4790  1.4.0 (56)  ios       release  2026-09-22 16:40:11 UTC  2026-12-21
4755  1.3.2 (54)  ios       release  2026-08-02 09:30:00 UTC  expired
  • KIND: debug for a React Native debug build, which loads its JavaScript from Metro (the kind vibeview dev runs), even if it also embeds its bundle; release for a release build or any build of an app that isn’t React Native; unknown when it couldn’t be detected. In --json, can_use_metro is the same answer, and is_debug says whether the build needs Metro.
  • EXPIRES: the dashboard’s Expires on date (the build is kept through that day), expired for a build marked Expired, or — when it has no date yet (not due, Keep on, or the app’s newest build). See Apps.
  • UPLOADED is in UTC; --json prints the full ISO 8601 timestamp ending in Z.

list-devices

List devices registered with the platform, to find a device_id for --device. With --models, list the device models you can start instead: the names vibeview dev --model takes.

vibeview list-devices [options]
vibeview list-devices --type android --category tv   # find an Android TV
OptionDescriptionDefault
--type <type>Filter by device type: ios, android, roku(all)
--category <category>Filter by category: phone, tablet, tv(all)
--status <status>Filter by status: available, busy, or updating (being updated or restarted; no new sessions until done). Only online devices are listed(all)
--modelsList startable device models (model, OS, type, category, foldable) instead of devices. --type and --category still filter; --status doesn’t apply(off)
--output <format>human or jsonhuman
--token <token>API token(from auth resolution)

Apple TV is --type ios --category tv; Android TV is --type android --category tv. An unknown --type, --category or --status value is refused with the allowed values and exit status 1.

DEVICE_ID         NAME              TYPE     CATEGORY  OS    STATUS
atv-01            Apple TV 4K       ios      tv        17.5  available
emu-tv-01         Android TV        android  tv        34    busy

stop

Stop any session by its ID, for example one started through the REST API, the Devices page or a collaboration link. For this project’s vibeview dev --detach session, vibeview dev-stop needs no ID.

vibeview stop <session_id> [options]
OptionDescriptionDefault
--jsonPrint the result as one JSON line: {"stopped": true, "session_id": "..."}(human output)
--token <token>API token(from auth resolution)

Stopping a session that has already ended succeeds. An unknown session ID, one outside your organization, or a teammate’s session (only its owner or an organization admin can end it) exits with status 1.

feedback

Send the VibeView team a bug report, friction note or feature idea about VibeView itself (not your app). An agent using the CLI should show you the report and send it only after you agree.

vibeview feedback <bug|friction|idea> "<summary>" [options]
OptionDescriptionDefault
--details <text>What you tried, what happened, what you expected(none)
--session <id>The session the report is about; its device, OS version and status are includedThe current project’s vibeview dev --detach session, if any
--quote <text>Your own words, verbatim(none)
--jsonPrint the result as one JSON line: {"id": 12, "duplicate": false}(human output)
--token <token>API token(from auth resolution)

Your organization can send up to 10 reports an hour and 30 a day; the same report again within a day returns the earlier one. Replies arrive as dashboard notifications.

Plan limits

Your plan sets devices and cloud builds at once, session length, monthly streaming and build minutes, and build storage (vibeview whoami shows them). At a limit, the CLI names it and adds a line with the plan that lifts it and a link that opens Billing with that plan ready to buy. A Solo organization at its two devices at once:

error: Your plan allows 2 devices at once.
In use: iPhone 16 Pro (test run, 19 min), Pixel 9 (from the CLI, 2 min)
Team runs 4 devices at once. Upgrade: https://vibeview.io/settings/billing?plan=…
  • Devices at once. vibeview dev stops right away and lists the sessions in use (device, what started it and for how long). A test run (run-checks, run-test) waits in the queue instead and starts when one of your sessions ends; after about 30 minutes without one freeing up, it ends without starting, with the plan line.
  • Cloud builds at once. A cloud build waiting for your organization’s other builds prints the plan line under its queue line.
  • Session length. On Free, vibeview dev says at the start that Free sessions end after 5 minutes and names the plan with no limit; the end message says why and adds the plan line.
  • Streaming and build minutes. At 80% and at 100% of the month’s included streaming minutes, the next vibeview dev (or an agent’s dev_start) says so once per organization per month; build minutes the same at vibeview build --cloud. When minutes or usage credit run out, the message gives the fix (top up usage credit, or turn overage on in Settings > Plan and usage) and names the plan that includes more, where there is one.
  • Storage, and what only paid plans allow: the refusal names the plan that lifts it.

Each line is printed once per command, for the organization the CLI is signed in to. It changes with who you are:

  • Members who aren’t organization admins get no link: the line names the plan and says to ask an admin of your organization to upgrade.
  • On the largest self-serve plan, or on custom terms, it says to contact support@vibeview.io.
  • With a payment overdue, it says to resolve it on the Billing page to restore your plan’s limits (adding “then upgrade for more” if you’d be at the limit on your own plan too); during a payment dispute, to contact support@vibeview.io.
  • A running offer your organization can use ends the line, for example (30% off your first month until Dec 2, 00:00 UTC).

In a CI job the CLI prints only the limit, without the link or the offer. The CLI never changes your plan.

With --json (or --output json), the event or result that hit the limit (an error, queued, session_ended or plan_notice event, or a run’s queue block) carries an upgrade_hint instead, with kind (which limit), plan, limit, used (for storage, the bytes stored now), action (upgrade, ask_admin, contact, pay, overage or top_up), remedy (upgrade, contact, pay, overage or top_up), next_plan (id, name, limit), url, message (the line, ready to show), promo, holding for devices at once (each session’s device, started_at in UTC or null, and source: cli, mcp, run, dashboard, share or embed), and limit_text on a refusal (its sentence without the fix).

action, remedy and source may gain values, so show message rather than branching on them.

Output Formats

FormatWhat it is
humanReadable terminal output with colors and a spinner during execution. Best for local development
jsonStructured JSON for programmatic parsing, with the full run result: per-case status, duration and error messages
junitJUnit XML for GitHub Actions, Jenkins, GitLab CI and other CI systems that read JUnit reports

In JUnit, each test case is a <testcase> with its duration, carrying a <failure> when it failed, an <error> when it errored, or <skipped> when cancelled. run-checks writes one <testsuite> per group and device, and one named after the app for the tests in no group; a group or device that errored before any test ran is one errored <testcase> named after it.

Exit Codes

CodeMeaning
0All tests passed
1One or more tests failed
2Execution error (network failure, authentication error, timeout, or a cancelled run)

explore uses the same codes: 1 means it finished with findings at or above --fail-on.

  • run-checks and run-test also exit 2 when they refuse their arguments, so from them 1 always means a test failed (earlier CLI versions exit 1 for an unknown option or a missing ID). Other commands exit 1 for an unknown option or a missing argument; where a command differs, its section says so.
  • A missing, invalid or expired API token exits 2, and so does a CI-only token used outside what CI needs (its error names the ci scope). The exception is vibeview dev --json, which reports every refusal as a JSON error event and exits 1.
  • vibeview submissions and vibeview testflight exit 0 after a read or a done action and 1 when the store or VibeView refuses it, when you answer no at a prompt, or when testflight add-testers leaves anyone refused, may have been added or not sent. credentials … test exits 1 when the store refuses the key.

With JSON output (--json or --output json), a failed command also prints one {"event": "error", "message": "..."} line on stdout, including a run-checks or run-test refused before it starts. Timestamps in JSON output are ISO 8601 in UTC, ending in Z.

Gate a deployment on the exit code:

vibeview run-checks --app $APP_ID --commit-sha $COMMIT_SHA || exit 1

CI/CD Integration

For GitHub Actions, start from the VibeView workflow template: it builds and uploads your app, runs its tests against the build, and comments the results on the pull request.

test-spec.json Convention

AI coding agents and automation tools can describe a test in plain English in .vibeview/test-spec.json, for the AI agent to run:

{
  "version": 1,
  "steps": ["Launch the app", "Verify the home screen loads"],
  "context": "Optional context for the AI agent",
  "test_name": "My Test"
}

create-test --steps-file and run-test run it; see AI steps from test-spec.json for the schema and a GitHub Actions step that runs it.

GitHub Actions

The workflow template is the complete setup. Its core: upload the build the job made, run the app’s tests against it with the pull request’s head commit, and keep the JUnit report:

- name: Upload the build
  id: build
  env:
    VIBEVIEW_API_TOKEN: ${{ secrets.VIBEVIEW_API_TOKEN }}
  run: |
    vibeview upload-app app-release.apk --output json > upload.json
    echo "app_id=$(jq -er '.app_id' upload.json)" >> "$GITHUB_OUTPUT"
    echo "build_id=$(jq -er '.build_id' upload.json)" >> "$GITHUB_OUTPUT"

- name: Run the tests
  env:
    VIBEVIEW_API_TOKEN: ${{ secrets.VIBEVIEW_API_TOKEN }}
    APP_ID: ${{ steps.build.outputs.app_id }}
    BUILD_ID: ${{ steps.build.outputs.build_id }}
    HEAD_SHA: ${{ github.event.pull_request.head.sha || github.sha }}
  run: |
    vibeview run-checks --app "$APP_ID" --build "$BUILD_ID" \
      --commit-sha "$HEAD_SHA" --output junit > results.xml

- name: Upload test results
  if: ${{ !cancelled() }}
  uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
  with:
    name: vibeview-results
    path: results.xml

Pass values through env: as above, never as ${{ }} inside run:. On a pull_request event, github.sha is a merge commit outside the pull request, so --commit-sha takes the head commit.

Generic CI

For any CI system, set the VIBEVIEW_API_TOKEN environment variable (and VIBEVIEW_BASE_URL for a non-default instance), then call the CLI:

vibeview upload-app ./app-release.apk --output json > upload.json
vibeview run-checks --app "$(jq -er '.app_id' upload.json)" --build "$(jq -er '.build_id' upload.json)" \
  --commit-sha "$(git rev-parse HEAD)" --output junit > results.xml

Your pipeline passes or fails on the exit code.

Last updated 3 Dec 2026 Something wrong on this page? Tell us

Search the docs