Skip to content

Instantly share code, notes, and snippets.

@kharioki
Forked from kadikraman/eas-build-cheat-sheet.md
Created November 21, 2024 13:27
Show Gist options
  • Save kharioki/c78fa0c5dbfbc423575f1a23bd49d90b to your computer and use it in GitHub Desktop.
Save kharioki/c78fa0c5dbfbc423575f1a23bd49d90b to your computer and use it in GitHub Desktop.
The most commonly used commands for building apps with the EAS CLI

EAS Build Cheat Sheet

The most commonly used commands for building apps with the EAS CLI

New Project

  • eas init - create a new project on expo.dev
  • eas build:configure - create eas.json with default configuration

Builds

  • eas build --profile development - development client, JS is loaded from your local machine
  • eas build --profile preview - preview build without the dev client, installable on device (apk, ipa)
  • eas build - optimised production build, only for store submissions (aab, ipa)

Signing and Credentials

  • eas device:create - register a new Apple device for dev / preview builds
  • eas build:resign - re-sign an existing build (e.g. after adding a new Apple device)
  • eas credentials - manage signing credentials

Debugging

  • eas build --local - run any eas build command on your local machine
  • eas config - print out the evaluated dynamic app config for a specific profile
  • eas build:inspect --platform ios --stage archive --output ../output - inspect the build archive before it is uploaded to EAS

Misc

  • eas build:run - download, install and run a previously created build from EAS
  • eas build --auto-submit - build production apps and upload them to the App and Play stores

Learn more on EAS

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment