Learn how to create a build for your app with EAS Build.
EAS Build allows you to build a ready-to-submit binary of your app for the Google Play Store or Apple App Store. In this guide, let's learn how to do that.
Alternatively, if you prefer to install the app directly to your Android device/emulator or install it in the iOS Simulator, we will point you toward resources that explain how to do that.
EAS Build is a new and rapidly evolving service. Before you set out to create a build for your project we recommend consulting the limitations page and the other prerequisites below.
Don't have a project yet? No problem. It's quick and easy to create a "Hello world" app that you can use with this guide.
npm install -g expo-cli
npx create-expo-app my-app
EAS Build also works well with projects created by
ignite-cli, and other project bootstrapping tools.
EAS Build is available to anyone with an Expo account, regardless of whether you pay for EAS or use our free tier. You can sign up at https://expo.dev/signup.
Paid subscribers get quality improvements such as additional build concurrencies, priority access to minimize the time your builds spend queueing, and increased limits on build timeouts. Learn more about different plans and benefits at EAS pricing.
EAS CLI is the command-line app that you will use to interact with EAS services from your terminal. To install it, run the command:
npm install -g eas-cli
You can also use the above command to check if a new version of EAS CLI is available. We encourage you to always stay up to date with the latest version.
We recommend using
yarnfor global package installations. You may alternatively use
npx eas-cli, just remember to use that instead of
easwhenever it's called for in the documentation.
If you are already signed in to an Expo account using Expo CLI, you can skip the steps described in this section. If you are not, run the following command to log in:
You can check whether you are logged in by running
To configure an iOS or an Android project for EAS Build, run the following command:
If you'd like to learn more about what happens behind the scenes, you can read the build configuration process reference.
Additional configuration may be required for some scenarios:
"expo build"? Learn about the differences.
The easiest way to try out EAS Build is to create a build that you can run on your Android device/emulator or iOS Simulator. It's quicker than uploading it to a store, and you don't need store developer membership accounts. If you'd like to try this, read about creating an installable APK for Android and creating a simulator build for iOS.
Before the build process can start for app stores, you will need to have a store developer account and generate or provide app signing credentials.
Whether you have experience with generating app signing credentials or not, EAS CLI does the heavy lifting. You can opt-in for EAS CLI to handle the app signing credentials process. Check out the steps for Android app signing credentials or iOS app signing credentials process below for more information.
You can build and sign your app using EAS Build, but you can't upload it to the Google Play Store unless you have a membership, a one-time $25 USD fee.
If you are going to use EAS Build to create release builds for the Apple App Store, you need access to an account with a $99 USD Apple Developer Program membership.
After you have confirmed that you have a Google Play Store or Apple App Store account and decided whether or not EAS CLI should handle app signing credentials, you can proceed with the following set of commands to build for the platform's store:
eas build --platform android
eas build --platform ios
You can attach a message to the build by passing
--messageto the build command, for example,
eas build --platform ios --message "Some message". The message will appear on the website. It comes in handy when you want to leave a note with the purpose of the build for your team.
Alternatively, you can use
--platform all option to build for Android and iOS at the same time:
eas build --platform all
Generate new keystore, and then you are done. The keystore is stored securely on EAS servers.
expo build:android, you can use the same credentials here.
expo build:ios, you can use the same credentials here.
By default, the
eas build command will wait for your build to complete, but you can interrupt it if you prefer not to wait. Monitor the progress and read the logs by following the link to the build details page that EAS CLI prompts once the build process gets started. You can also find this page by visiting your build dashboard or running the following command:
If you are a member of an organization and your build is on its behalf, you will find the build details on the build dashboard for that account.
If you have made it to this step, congratulations! Depending on which path you chose, you now either have a build that is ready to upload to an app store, or you have a build that you can install directly on an Android device/iOS Simulator.
You will only be able to submit to an app store if you built specifically for that purpose. If you created a build for a store, learn how to submit your app to app stores with EAS Submit.
You will only be able to install the app directly to your Android device/iOS Simulator if you explicitly built it for that purpose. If you built for app store distribution, you will need to upload to an app store and then install it from there (for example, from Apple's TestFlight app).
To learn how to install the app directly to your Android device/iOS Simulator, navigate to your build details page from your build dashboard and click the "Install" button.
We walked you through the steps for creating your first build with EAS Build without going into too much depth on any particular part of the process.
When you are ready to learn more, we recommend proceeding through the "Start Building" section of this documentation to learn about topics such as:
You may also want to dig through the reference section to learn more about the topics that interest you most, such as: