Eas update skill

Configure and use EAS Update for over-the-air JavaScript and asset updates with expo-updates and EAS CLI.

by expo·MIT license·★ 2,657 Stars on the repo·GitHub ↗

Use now

Files of Eas update

expo/main1 file shown
SKILL.md
Show the full text147 lines

EAS Update

EAS service - costs apply. EAS Update is available on the Free plan; publishing and delivery use update, bandwidth, and storage allowances, with higher limits on paid plans. See https://expo.dev/pricing.

Use EAS Update to deliver compatible JavaScript, styling, and asset changes to installed apps without submitting a new native binary. Native-code changes still require a new build.

Start with the supported configuration path

Before changing anything, inspect package.json, the Expo app config, eas.json if present, and whether ios/ or android/ are tracked. Use what you find when reviewing the CLI's changes:

  • Preserve existing dynamic or platform-specific app configuration.
  • If eas.json exists, preserve its profiles and existing channel assignments. The CLI adds a channel matching the profile name only to build profiles that do not already have one.
  • If eas.json is absent, do not create it by hand. The CLI may direct the user to run eas build:configure separately.
  • With tracked native projects, expect the CLI to synchronize the platform's native Update configuration. Without them, expect Continuous Native Generation to apply the native configuration during a later build.

Detect the Expo SDK version before installing packages or interpreting version-specific behavior.

If expo-updates is not installed, install the SDK-compatible version:

npx expo install expo-updates

Configure from the project root:

npx eas-cli@latest update:configure

Use eas update:configure rather than manually inventing updates.url, runtimeVersion, native metadata, or build-profile channels. The command understands EAS project linking, Continuous Native Generation, and projects with committed native directories. Review and explain its resulting diff.

If the command cannot proceed because the project is not linked or the user has not authorized the required remote operation, stop after any independently valid package installation and explain what remains. Do not partially reproduce update:configure by adding a runtime-version policy, config plugin, update URL, or channels by hand.

For dynamic app config, non-EAS builds, or a command that cannot complete automatically, follow the current setup documentation instead of guessing: https://docs.expo.dev/eas-update/getting-started.md.

Keep the model straight

  • Build: the installed native app. It contains native code, an embedded update, a platform, a runtime version, and normally a channel fixed at build time.
  • Update: a published JavaScript bundle, assets, and metadata for one platform and runtime version.
  • Branch: an ordered stream of updates. Its newest compatible update is active.
  • Channel: a stable deployment target embedded in builds. On the server, it points to a branch.
  • Runtime version: the compatibility boundary between an update and the native code in a build.

A build receives an update only when platform and runtime version match and the build's channel points to the branch containing that update:

installed build (channel: production, runtime: 1.1.1, platform: ios)
  -> production channel
  -> production branch
  -> newest update for runtime 1.1.1 and ios

Channels and branches commonly have the same name, but they are separate objects. eas channel:edit changes a channel's server-side branch mapping for every build on that channel. It does not change an individual installation's embedded channel.

Use this model to make decisions, but explain only the concepts needed for the user's request rather than reciting the entire model every time.

Decide whether an update is compatible

Use an update for changes to JavaScript, styling, and bundled assets that the installed native runtime already supports.

Create a new native build when a change adds or modifies native code or native configuration, including most native-library additions and SDK upgrades. Do not work around a runtime mismatch or imply that publishing can add native capabilities to an existing build. See https://docs.expo.dev/eas-update/runtime-versions.md.

Do not change the project's runtime-version policy as an incidental fix. Explain how the current policy affects compatibility; treat changing it as a separate decision because it changes which installed builds can receive future updates.

Publish deliberately

Check the current CLI help before relying on remembered flags:

npx eas-cli@latest update --help

For the common channel-based flow:

npx eas-cli@latest update \
  --channel <channel> \
  --message "<message>" \
  --environment <environment>

SDK 55 and later require an EAS environment for publishing. Choose the environment intentionally so exported code receives the intended variables.

Publishing changes remote state and can affect installed applications. Before running it, establish the exact project, channel, environment, platforms, runtime version, and message. Publish to production only when the user has explicitly requested or approved it; if the authorization or target is ambiguous, stop before the command and ask. Do not infer a production destination solely from the current Git branch.

Prefer a preview or staging channel for validation. When promoting a tested update, use the documented deployment flow so production receives the same artifact where possible: https://docs.expo.dev/eas-update/deployment.md.

Test according to the build type

Development builds

Preview updates with the development build's Extensions UI, the EAS dashboard, or Expo Orbit. A normal expo-dev-client development build does not behave like a release build's automatic startup update flow.

Preview, TestFlight, and production builds

Release builds normally prioritize startup speed. With the default launch behavior, the app may start its current embedded or cached update while downloading a newly published update in the background. The downloaded update is applied on a later restart.

For manual QA, fully terminate the app rather than backgrounding it, reopen it, allow the update time to download, and, if the change is not visible, fully terminate and reopen it once more. Describe this as up to two cold launches, not a TestFlight-specific ritual:

  1. One launch can discover and download the update.
  2. The following launch can run the downloaded update.

Do not automatically change fallbackToCacheTimeout to avoid the second launch. Waiting at startup trades launch latency and reliability for faster update activation. If the app needs an intentional update UX, consider the expo-updates APIs for checking, fetching, and presenting a non-blocking restart action. Use the expo-updates API reference for the project's detected SDK version.

Debug a build that did not update

Check these in order:

  1. Confirm the update was published to the intended EAS project, channel or branch, platform, and environment.
  2. Compare the installed build's platform and runtime version with the published update.
  3. Confirm the build actually contains the expected update URL and channel; app-config changes take effect only in a newly compiled build.
  4. Inspect the channel-to-branch mapping and the active update on that branch.
  5. Fully terminate the release build and allow for the normal download-then-apply lifecycle.
  6. Use the current debugging guide for native logs, export problems, and configuration checks: https://docs.expo.dev/eas-update/debug.md.

Never bypass a compatibility or anti-bricking safeguard merely to make an update appear.

Advanced and adjacent workflows

  • Channel surfing: an individual release build can override its expo-channel-name request header to request another compatible channel. This differs from changing the server-side channel-to-branch mapping. Follow https://docs.expo.dev/eas-update/channel-surfing.md and preserve its access-control, persistence, recovery, and compatibility constraints.
  • Update health: load eas-update-insights for adoption, launch failures, crash rate, payload size, and rollout monitoring after publishing.
  • Store releases: load eas-app-stores when native changes require a new TestFlight, App Store, or Play Store build.

Official references

Submitting Feedback

If you encounter errors, misleading or outdated information in this skill, report it so Expo can improve:

npx --yes submit-expo-feedback@latest --category skills --subject "eas-update" "<actionable feedback>"

Only submit when you have something specific and actionable to report. Include as much relevant context as possible. If an AI agent repeatedly failed or the user had to take over an Expo task, load the expo-skill-feedback skill and follow its eval-candidate flow instead of reusing the command above.

1---
2name: eas-update
3description: "Configure and use EAS Update for over-the-air JavaScript and asset updates with expo-updates and EAS CLI. Use when setting up OTA updates, running eas update:configure or eas update, publishing to preview/staging/production channels, explaining branches/channels/runtime versions, testing updates, or debugging why an installed build still shows old code. Load for TestFlight, preview, or production updates that do not appear, including questions about cold launches or reopening the app. Not for update health metrics; use eas-update-insights for adoption, crashes, and rollout monitoring."
4version: 1.0.0
5license: MIT
6allowed-tools: "Bash(npx expo *), Bash(npx *eas-cli@*), Bash(eas *)"
7---
8 
9# EAS Update
10 
11> **EAS service - costs apply.** EAS Update is available on the Free plan; publishing and delivery use update, bandwidth, and storage allowances, with higher limits on paid plans. See https://expo.dev/pricing.
12 
13Use EAS Update to deliver compatible JavaScript, styling, and asset changes to installed apps without submitting a new native binary. Native-code changes still require a new build.
14 
15## Start with the supported configuration path
16 
17Before changing anything, inspect `package.json`, the Expo app config, `eas.json` if present, and whether `ios/` or `android/` are tracked. Use what you find when reviewing the CLI's changes:
18 
19- Preserve existing dynamic or platform-specific app configuration.
20- If `eas.json` exists, preserve its profiles and existing channel assignments. The CLI adds a channel matching the profile name only to build profiles that do not already have one.
21- If `eas.json` is absent, do not create it by hand. The CLI may direct the user to run `eas build:configure` separately.
22- With tracked native projects, expect the CLI to synchronize the platform's native Update configuration. Without them, expect Continuous Native Generation to apply the native configuration during a later build.
23 
24Detect the Expo SDK version before installing packages or interpreting version-specific behavior.
25 
26If `expo-updates` is not installed, install the SDK-compatible version:
27 
28```bash
29npx expo install expo-updates
30```
31 
32Configure from the project root:
33 
34```bash
35npx eas-cli@latest update:configure
36```
37 
38Use `eas update:configure` rather than manually inventing `updates.url`, `runtimeVersion`, native metadata, or build-profile channels. The command understands EAS project linking, Continuous Native Generation, and projects with committed native directories. Review and explain its resulting diff.
39 
40If the command cannot proceed because the project is not linked or the user has not authorized the required remote operation, stop after any independently valid package installation and explain what remains. Do not partially reproduce `update:configure` by adding a runtime-version policy, config plugin, update URL, or channels by hand.
41 
42For dynamic app config, non-EAS builds, or a command that cannot complete automatically, follow the current setup documentation instead of guessing: https://docs.expo.dev/eas-update/getting-started.md.
43 
44## Keep the model straight
45 
46- **Build:** the installed native app. It contains native code, an embedded update, a platform, a runtime version, and normally a channel fixed at build time.
47- **Update:** a published JavaScript bundle, assets, and metadata for one platform and runtime version.
48- **Branch:** an ordered stream of updates. Its newest compatible update is active.
49- **Channel:** a stable deployment target embedded in builds. On the server, it points to a branch.
50- **Runtime version:** the compatibility boundary between an update and the native code in a build.
51 
52A build receives an update only when platform and runtime version match and the build's channel points to the branch containing that update:
53 
54```text
55installed build (channel: production, runtime: 1.1.1, platform: ios)
56 -> production channel
57 -> production branch
58 -> newest update for runtime 1.1.1 and ios
59```
60 
61Channels and branches commonly have the same name, but they are separate objects. `eas channel:edit` changes a channel's server-side branch mapping for every build on that channel. It does not change an individual installation's embedded channel.
62 
63Use this model to make decisions, but explain only the concepts needed for the user's request rather than reciting the entire model every time.
64 
65## Decide whether an update is compatible
66 
67Use an update for changes to JavaScript, styling, and bundled assets that the installed native runtime already supports.
68 
69Create a new native build when a change adds or modifies native code or native configuration, including most native-library additions and SDK upgrades. Do not work around a runtime mismatch or imply that publishing can add native capabilities to an existing build. See https://docs.expo.dev/eas-update/runtime-versions.md.
70 
71Do not change the project's runtime-version policy as an incidental fix. Explain how the current policy affects compatibility; treat changing it as a separate decision because it changes which installed builds can receive future updates.
72 
73## Publish deliberately
74 
75Check the current CLI help before relying on remembered flags:
76 
77```bash
78npx eas-cli@latest update --help
79```
80 
81For the common channel-based flow:
82 
83```bash
84npx eas-cli@latest update \
85 --channel <channel> \
86 --message "<message>" \
87 --environment <environment>
88```
89 
90SDK 55 and later require an EAS environment for publishing. Choose the environment intentionally so exported code receives the intended variables.
91 
92Publishing changes remote state and can affect installed applications. Before running it, establish the exact project, channel, environment, platforms, runtime version, and message. Publish to production only when the user has explicitly requested or approved it; if the authorization or target is ambiguous, stop before the command and ask. Do not infer a production destination solely from the current Git branch.
93 
94Prefer a preview or staging channel for validation. When promoting a tested update, use the documented deployment flow so production receives the same artifact where possible: https://docs.expo.dev/eas-update/deployment.md.
95 
96## Test according to the build type
97 
98### Development builds
99 
100Preview updates with the development build's Extensions UI, the EAS dashboard, or Expo Orbit. A normal `expo-dev-client` development build does not behave like a release build's automatic startup update flow.
101 
102### Preview, TestFlight, and production builds
103 
104Release builds normally prioritize startup speed. With the default launch behavior, the app may start its current embedded or cached update while downloading a newly published update in the background. The downloaded update is applied on a later restart.
105 
106For manual QA, fully terminate the app rather than backgrounding it, reopen it, allow the update time to download, and, if the change is not visible, fully terminate and reopen it once more. Describe this as **up to two cold launches**, not a TestFlight-specific ritual:
107 
1081. One launch can discover and download the update.
1092. The following launch can run the downloaded update.
110 
111Do not automatically change `fallbackToCacheTimeout` to avoid the second launch. Waiting at startup trades launch latency and reliability for faster update activation. If the app needs an intentional update UX, consider the `expo-updates` APIs for checking, fetching, and presenting a non-blocking restart action. Use the `expo-updates` API reference for the project's detected SDK version.
112 
113## Debug a build that did not update
114 
115Check these in order:
116 
1171. Confirm the update was published to the intended EAS project, channel or branch, platform, and environment.
1182. Compare the installed build's platform and runtime version with the published update.
1193. Confirm the build actually contains the expected update URL and channel; app-config changes take effect only in a newly compiled build.
1204. Inspect the channel-to-branch mapping and the active update on that branch.
1215. Fully terminate the release build and allow for the normal download-then-apply lifecycle.
1226. Use the current debugging guide for native logs, export problems, and configuration checks: https://docs.expo.dev/eas-update/debug.md.
123 
124Never bypass a compatibility or anti-bricking safeguard merely to make an update appear.
125 
126## Advanced and adjacent workflows
127 
128- **Channel surfing:** an individual release build can override its `expo-channel-name` request header to request another compatible channel. This differs from changing the server-side channel-to-branch mapping. Follow https://docs.expo.dev/eas-update/channel-surfing.md and preserve its access-control, persistence, recovery, and compatibility constraints.
129- **Update health:** load `eas-update-insights` for adoption, launch failures, crash rate, payload size, and rollout monitoring after publishing.
130- **Store releases:** load `eas-app-stores` when native changes require a new TestFlight, App Store, or Play Store build.
131 
132## Official references
133 
134- Setup: https://docs.expo.dev/eas-update/getting-started.md
135- Concepts and matching: https://docs.expo.dev/eas-update/how-it-works.md
136- Deployment: https://docs.expo.dev/eas-update/deployment.md
137- Debugging: https://docs.expo.dev/eas-update/debug.md
138- Current EAS CLI reference: https://docs.expo.dev/eas/cli.md
139 
140## Submitting Feedback
141If you encounter errors, misleading or outdated information in this skill, report it so Expo can improve:
142```bash
143npx --yes submit-expo-feedback@latest --category skills --subject "eas-update" "<actionable feedback>"
144```
145Only submit when you have something specific and actionable to report. Include as much relevant context as possible.
146If an AI agent repeatedly failed or the user had to take over an Expo task, load the expo-skill-feedback skill and follow its eval-candidate flow instead of reusing the command above.
147 

Discussion