---
title: "Exact Documentation"
description: "Write an app once. It runs natively on the web, iOS, macOS, Android, Linux, and more."
modificationDate: "2026-11-25"
---

> ## Documentation index
> Fetch the complete documentation index at: https://exact.expo.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Exact Documentation

<AgentInstructions>

## Submitting feedback

From the app's directory, read `bun exact.mjs feedback status`. Under `never`, keep no note.
Respect `EXACT_FEEDBACK=0` and do not change the policy.

Otherwise record specific, actionable feedback with:
`bun exact.mjs feedback note "Exact docs: https://exact.expo.dev/: <what was wrong or missing>"`

The note goes to Expo only as that status allows. Include no secrets or personal data.

</AgentInstructions>

Write an app once. It runs natively on the web, iOS, macOS, Android, Linux, and more.

## Set up Exact

Give this prompt to your coding agent. It installs the toolchain, makes an app and starts its dev loop.

```prompt Start a hello world app
Start a new hello world project for me using Expo Exact.

1. Exact has no npm package: you work from a checkout of its repository. If this folder has `scripts/exact.mjs`, it is the checkout. If not, and it has an `exact` folder with `scripts/exact.mjs`, that is the checkout. Otherwise run `git clone https://github.com/expo/exact.git` here, which makes the checkout in an `exact` folder.
2. In the checkout, run `bun scripts/exact.mjs setup --platform web`. It needs Bun 1.4.2 or later and rustup, any version. If one is missing or too old, ask me before you install it. `setup` then downloads Chromium, Rust toolchains and crates. That is expected.
3. In the checkout, run `bun scripts/exact.mjs new ../hello`. It makes the app in a `hello` folder next to the checkout. Then `cd ../hello`.
4. Run `bun exact.mjs test web`. If it fails, show me the output and stop.
5. Start `bun exact.mjs web` in the background, or tell me to run it if you cannot. Wait for the line that starts with `http://` and give me that URL.
6. Then ask me which other platforms I want this app on: iOS, macOS, Android, Linux or Windows. For each platform I name, run `bun scripts/exact.mjs setup` in the checkout, then run `bun exact.mjs docs platform checks` in the app and follow its table to check the app and open it. Keep the dev loop from step 5: where the table starts one, use it instead, with the URL it printed. Tell me if this computer cannot build a platform.

Do not edit `app.contract`, `app.ts` or `app.json` yourself. A platform command may add its platform to `app.json`; keep that change.
```

## Explore the docs

- [Start here](https://exact.expo.dev/start.md): Build an app with Exact: the idea, the workflow, and the one screen every app starts from.
- [Learn](https://exact.expo.dev/learn/contract-for-humans.md): Contract, the language of an Exact app, from the first component to delivery.
- [Recipes](https://exact.expo.dev/recipes/after-a-write.md): Short answers to common questions, one page each: forms, lists, timers, sign-in, storage, and more.

## For AI agents

Give your coding agent these docs, or let it read any page as Markdown. [See all agent resources](https://exact.expo.dev/agents.md).

- [Start prompt](https://exact.expo.dev/agents.md#start-prompt): The one file to read first.
- [Markdown pages](https://exact.expo.dev/agents.md#markdown-pages): Add .md to any page URL.
- [llms.txt](https://exact.expo.dev/agents.md#llmstxt): Every page in one index.
- [sitemap.md](https://exact.expo.dev/agents.md#sitemapmd): Pages with type and prerequisites.
- [Open in your agent](https://exact.expo.dev/agents.md#open-in-your-agent): Claude, ChatGPT, Cursor, Codex.
- [Terminal lookups](https://exact.expo.dev/agents.md#terminal-lookups): Answers from an app's folder.
- [Feedback](https://exact.expo.dev/agents.md#feedback): Report an error in a page.
