command

ridu new

ridu new [--template starter|blank] [--database postgres|sqlite|mongodb] [--package-manager npm|bun|pnpm|yarn] [--agent codex|claude|cursor|all|none] [--no-agent] [--module <go-module>] [--scope <npm-scope>] [directory]

Scaffold a thin Ridu application, resolve Go dependencies, and generate its first contracts.

@param --template
Embedded application template; defaults to starter.
@param --database
Official database adapter; defaults to postgres.
@param --package-manager
Frontend package manager; defaults to npm outside the interactive wizard.
@param --agent
Release-matched local coding-agent layout; defaults to codex outside a terminal.
@param --no-agent
Do not install coding-agent entrypoints, skills, or ownership manifest.
@param --module
Go module path; defaults to example.com/<project>.
@param --scope
npm scope for the generated admin workspace; defaults to @<project>.
@param directory
New project directory, which must not already exist.

The scaffold is kept if dependency setup or initial generation fails, and the CLI prints recovery commands.

--release-version is a framework-development override for exercising an alternate dependency release; ordinary application authors should not use it.

Example

shell
ridu new --package-manager npm \
  --module github.com/acme/content \
  --scope @acme \
  content
cd content
npm install
npm run dev