Edit this page
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.
For a small app, builds for Android and iOS platforms trigger within a few minutes. If you encounter any issues along the way, you can reach out on Discord and Forums.
EAS Build is a 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.
Run the following command to create a new project:
-
npx create-expo-app my-app
EAS Build also works well with projects created by npx create-react-native-app
, npx react-native
, 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 plan. 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.
1
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
npm
instead ofyarn
for global package installations. You may alternatively usenpx eas-cli@latest
. Remember to use that instead ofeas
whenever it's called for in the documentation.
2
3
To configure an Android or an iOS project for EAS Build, run the following command:
-
eas build:configure
To learn more about what happens behind the scenes, see build configuration process reference.
Additional configuration may be required for some scenarios:
4
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
--message
to 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
If you have released your app to stores previously and have existing app signing credentials that you want to use, follow these instructions to configure them.
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.5
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:
-
eas build:list
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.
Did your build fail? Double check that you followed any applicable instructions in the configuration step and refer to the troubleshooting guide if needed.
6
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 to create 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: