command

ridu new

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

Example

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

Arguments

ArgumentTypeDescription
--templatestarter | blankEmbedded application template; defaults to starter.
--databasepostgres | sqlite | mongodbOfficial database adapter; defaults to postgres.
--package-managernpm | bun | pnpm | yarnFrontend package manager; defaults to npm outside the interactive wizard.
--agentcodex | claude | cursor | all | noneRelease-matched local coding-agent layout; defaults to codex outside a terminal.
--no-agentbooleanDo not install coding-agent entrypoints, skills, or ownership manifest.
--modulestringGo module path; defaults to example.com/<project>.
--scopestringnpm scope for the generated admin workspace; defaults to @<project>.
directorystringNew project directory, which must not already exist.

How it works

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.

Full signature

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]