HomeGuidesReferenceLearn
ArchiveExpo SnackDiscord and ForumsNewsletter

Set up EAS Build with a monorepo

Learn how to set up EAS Build with a monorepo.


To setup EAS Build with a monorepo, you need to follow the standard process as described below:

  • Run all EAS CLI commands from the root of the app directory. For example, if your project exists inside of your git repository at apps/my-app, then run eas build from there.
  • All files related to EAS Build, such as eas.json and credentials.json, should be in the root of the app directory. If you have multiple apps that use EAS Build in your monorepo, each app directory will have its own copy of these files.
  • If you are building a managed project in a monorepo, see Working with Monorepos guide.
  • If your project needs additional setup beyond what is provided, add a postinstall step to package.json in your project that builds all necessary dependencies in other workspaces. For example:
package.json
{
  "scripts": {
    "postinstall": "cd ../.. && yarn build"
  }
}