Ensemble
Getting Started

Quickstart

This walks through the shortest path from nothing to a running app: scaffold a project, scaffold an app, build it, and bring it up locally. If you haven't installed ens yet, see Installation.

Read Concepts alongside this if you want the "why" behind each step — this page is deliberately just the "how."

1. Scaffold a project

ens init

Prompts for a project name, then lays down the source/ and .ensemble/ folders, fetches the built-in kits, and initializes a git repository.

2. Scaffold an app

ens app create react web

Creates source/apps/web from the react build kit's hello-world template, already configured to use that kit. Swap react for deno.bundle for a plain TypeScript service instead.

3. Build it

ens build web -m development

Runs the app's configured build kit and writes output to source/artifacts/web.

4. Bring it up locally

A running deployment needs a workload manifest, not just a built app — see Local development for the full loop (pack → manifest → ens develop). If your project already has one (e.g. ci/web/delivery.yml):

ens develop web

This builds, packs, and deploys the workload locally, watching for source changes until you stop it.

Another language

A project's packages can be in more than one language. Choose the languages when you create it — the first is the default for new libraries:

ens init my-tool --ecosystem cargo              # a Rust project
ens init my-app --ecosystem deno --ecosystem cargo

Or let an app bring its language in: ens app create cargo cli scaffolds a Rust crate at source/apps/cli and adds the cargo ecosystem to a project that doesn't have it. Either way, each package keeps only its own manifest (Cargo.toml, deno.json). The workspace root and lockfile live under .ensemble/ecosystems/<language>, and you run the language's tools through ens exec:

ens exec cargo test

See Ecosystem kits.

Where to next

  • Concepts — the mental model behind the workspace, kits, and delivery manifests.
  • Local development — the full build → pack → deploy loop, end to end.
  • CLI reference — every command's full flag list.