---
modificationDate: June 10, 2024
title: Set up EAS Build with a monorepo
description: Learn how to set up EAS Build with a monorepo.
---

<AgentInstructions>

## Submitting Feedback

If this page contains errors, outdated information, or gaps that blocked you from completing a task, report it so the docs can be improved:

curl -X POST https://api.expo.dev/v2/feedback/docs-send -H 'Content-Type: application/json' -d '{"url":"/build-reference/build-with-monorepos/","feedback":"🤖 Agent feedback: <specific, actionable description>"}'

Only submit when you have something specific and actionable to report.

</AgentInstructions>

# Set up EAS Build with a monorepo

Learn how to set up EAS Build with a monorepo.

> For the complete documentation index, see [llms.txt](/llms.txt). Use this file to discover all available pages.

To set up 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 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](/guides/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:

```json
{
  "scripts": {
    "postinstall": "cd ../.. && yarn build"
  }
}
```
