Skip to content

Getting started

Create a site using the commands below, or use the Deploy to Cloudflare button to create a repository and Worker in your own accounts. On a TTY, stratolms init runs the setup wizard. --yes keeps every optional feature off.

Terminal window
npm create stratolms@latest my-course
cd my-course
pnpm install
pnpm stratolms doctor
pnpm stratolms check
pnpm dev

Edit src/consts.ts, replace the example course under src/content/courses/, and run pnpm stratolms check after each content change. The first two digits in module and lesson names define reading order. The first course walkthrough takes the included draft example through a local free publication without requiring payment or email configuration.

The create command accepts a directory and an optional adapter. The generated package carries only the chosen adapter plus the exact runtime/CLI release version; it does not depend on this source checkout.

The generated site also includes a build-time theme. Start with theme.config.ts in the project root, then see the theme guide for tokens, layouts, and safe component overrides.

Use the AI coding-agent guide for setup, content, themes and maintenance with Codex, Cursor or Claude Code.