Expo EAS CLI
$ eas Official Med RiskExpo EAS CLI (eas) drives cloud iOS/Android builds, App Store/Play Store submissions, OTA updates (eas update), and environment secrets for Expo and React Native apps. Explicit --json and --non-interactive flags allow clean CI and agent orchestration.
npm install -g eas-cli EAS CLI is the canonical automation surface for eas build, eas update, and eas submit in mobile CI/CD pipelines.
Agent-Readiness Checklist
Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.
FCRS-1.0 6-Dimension Breakdown
First-class --non-interactive and --json flags on build/update/list commands, though interactive credential setup prompts if unconfigured.
--jsonautomatically implies--non-interactiveon supported commands- Supports
EXPO_TOKENfor robot authentication
Supports EAS robot tokens and branch/profile isolation, though eas submit and eas build trigger store submissions or build quotas.
- Preview/staging branches isolate OTA updates from production
- Signing key generation may prompt or modify Apple/Google credentials
Cross-platform npm package (eas-cli) usable globally or via npx eas-cli.
npm install -g eas-cli
Automates cloud native builds, OTA updates, and store submissions without local Xcode for cloud builds.
- End-to-end Expo/React Native release pipeline in one CLI
Official Expo repository (expo/eas-cli) actively maintained under MIT.
- Official Expo GitHub organization
Well-documented EAS CLI guides and CI integration recipes.
- Official docs at docs.expo.dev/eas-cli/
Security, Auth & Guardrails
Stores session state in ~/.expo/state.json or authenticates headlessly via EXPO_TOKEN.
CLI is free (MIT); Expo EAS provides a free build tier with paid plans for higher concurrency and priority queues.
# Expo EAS CLI Agent Rules - Always append `--non-interactive` (and `--json` when supported) so `eas` never hangs on interactive prompts. - Target `--profile preview` or `--branch preview`; NEVER run `eas submit` or publish to `production` branches without human approval. - Use a scoped `EXPO_TOKEN` robot token for headless environments.
Agent-Ready Command Recipes
Safe Read-Only Queries
eas whoami
Prints the currently authenticated Expo user or robot token owner.
eas build:list --limit 5 --json --non-interactive
Retrieves status and artifact URLs for the 5 most recent builds without prompting.
Controlled Writes & Previews
eas update --branch preview --message "Agent preview update" --json --non-interactive
Publishes a JS/asset bundle to the preview EAS Update branch without touching production.
Strengths for Agents
- +
--jsonand--non-interactiveflags work well in automated mobile CI and agent workflows. - +
EXPO_TOKENrobot tokens avoid interactive browser logins. - + Branch-scoped
eas updateandeas.jsonbuild profiles cleanly isolate preview vs production.
Caveats & Pitfalls
- ! Commands touching Apple/Google signing credentials can fail or prompt if credentials are not pre-provisioned.
- ! Cloud
eas buildjobs consume limited monthly build minutes/credits.