sincecutoff.com
← all changes

eas init --json outputs linked project details

Introduced 2026-07-27 · score 0.96

HOW TO USE IT

When initializing or linking an EAS project and a script needs its details, run `eas init --account <account> --json --non-interactive`; it prints the result as JSON to stdout.

eas init --account <account> --json --non-interactive

WHY THIS HELPS

Capture the linked EAS project details from project initialization in a script.

REQUIREMENTS AND LIMITATIONS

  • Version: v21.3.0
  • --account <value>: Name of the account that will own the project; mutually exclusive with `--id`.
  • --id <value>: ID of the EAS project to link; mutually exclusive with `--account`.
  • --json: Enable JSON output; non-JSON messages go to stderr. Implies `--non-interactive`.
  • --non-interactive: Run without interactive prompts.
  • --force: Create or link without additional prompts, or overwrite an existing project ID when used with `--id`.
  • Prerequisite: EAS CLI must have an authenticated Expo account context; the command's context requires logged-in status.
  • Prerequisite: Install EAS CLI with `npm install -g eas-cli` or `yarn global add eas-cli`.
  • The JSON output is described for a linked project.

FIRST-PARTY EVIDENCE

Check the installed version and the source before using it. Entry JSON

Report a problem with this card