This documentation is available as Markdown for AI agents and LLMs. See the full Markdown index at /llms.txt, or add .md to any page's URL.
From an Exact checkout with its pinned Rust toolchain and Bun installed:
Terminal
bun install --frozen-lockfile
bun host/web/dev.mjs --app caltrain
Open the URL printed by the server, edit apps/caltrain/app.contract, and save. The web build normally uses the JavaScript target; games use wasm. The build reports unsupported features rather than silently selecting a different result. Native builds require their platform tools. See the root quick start for toolchain installation.
To scaffold a separate application, run from the Exact checkout:
Terminal
bun scripts/exact.mjs new ../hello
The new app has app.contract (its interface), app.ts (its data module), app.json (its manifest) and app.test.contract; a native verb generates its host crates under .exact/. It consumes this checkout by path. Its generated exact.mjs runs the web and native commands (bun exact.mjs test, for example; bun exact.mjs test web tests/*.test.contract runs the files named, from the current directory, in turn); run it with no verb to list them, and see the tooling reference. Stopping or killing bun exact.mjs web stops its dev server too.
You can compile a standalone Contract file without running a host:
Terminal
cargo run -q -p contract -- build /path/to/app.contract --json
Below, contract stands for cargo run -q -p contract --.
A successful compilation is [] and exit status 0. It checks the language and produces a plan; it does not prove that a data source is implemented or that an app's measured layout works. The app build also bakes its initial data and layout.
Is this helpful
Last updated November 30, 2026
Exact Docs