Documentation
Docs
Introduction
Getting Started
Tutorial: build an app
Core Concepts
Routing
Server-Side Rendering
Mimir, state management
Pages & Layouts
API Routes
Styling & Theming
Building & Deploying
API Reference
Guides
Recipes
FAQ (use cases)
Reference , CLI
The ekko commands you use to develop, build, and ship a rune app.
ekko run <entry> [--allow=...]
Starts your app. For a rune app, the entry is server.tsx.
--allow=<cats>, grant runtime capabilities (fs,net,env,sys,ffi,child_process,worker),
with optional scopes (--allow=fs:./data,net:localhost:*,env:PORT). Additive with ekko.json
permissions. See Permissions.
- The server reads
PORT(if you wired it and grantedenv) and listens. It compiles your SCSS at start and
reads .ekko/build/manifest.json.
ekko build --client
Compiles the browser bundle and writes the manifest.
Outputs .ekko/build/client/* (content-hashed chunks) and .ekko/build/manifest.json. Run whenever
client-rendered code changes. Build it on your dev machine and ship .ekko/build; prod does not rebuild. See
The build.
ekko build
Builds a workspace member (transpile + collect assets). For a lib, produces the transpiled output used when
packing.
ekko pack
Packages a workspace member into a .ekl archive (under dist/). Used to publish or to depend on a local
library via a file: source in ekko.lock.
ekko add <pkg> [<pkg>...]
Adds a dependency: resolves it into the store and records it in ekko.json/ekko.lock.
ekko remove <pkg> · ekko list
Remove a dependency; list installed dependencies.
ekko dev
Starts a dev server with file watching and auto-rebuild (a convenience over the manual build --client +
run loop). For full control or production-shaped behaviour, use build --client + run.
ekko ekl
Manage .ekl packages and the package store:
ekko ekl inspect <file|pkg>, inspect an archive or installed package.ekko ekl list, list packages in the store.ekko ekl store, manage the store location.
ekko vendor
Copies store dependencies into ./vendor/ for offline/reproducible builds.
ekko x <bin>
Execute a binary from packages, the workspace, or .ekl archives.
ekko publish
Publish the current member to the registry (when you distribute a package).
A typical rune workflow
That completes the API Reference. Next: practical Recipes.