command
ridu new
Scaffold a thin Ridu application, resolve Go dependencies, and generate its first contracts.
Example
ridu new --package-manager npm \
--module github.com/acme/content \
--scope @acme \
content
cd content
npm install
npm run devArguments
| Argument | Type | Description |
|---|---|---|
--template | starter | | Embedded application template; defaults to starter. |
--database | postgres | | Official database adapter; defaults to postgres. |
--package-manager | npm | | Frontend package manager; defaults to npm outside the interactive wizard. |
--agent | codex | | Release-matched local coding-agent layout; defaults to codex outside a terminal. |
--no-agent | boolean | Do not install coding-agent entrypoints, skills, or ownership manifest. |
--module | string | Go module path; defaults to example.com/<project>. |
--scope | string | npm scope for the generated admin workspace; defaults to @<project>. |
directory | string | New 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]