Terminal only
Create, extend, check, run, build, and preview the project with the published CLI. No desktop application is needed.
Node.js 22.13.0 or newer is the only required runtime. From any parent directory, run:
npm create srijika@latest my-appcd my-appnpx @srijika/cli checknpx @srijika/cli devThis creates a pinned React 19 + Vite + TypeScript project, installs its dependencies, validates the Srijika architecture, and starts the real application. Desktop Studio is not required.
For CI or a terminal-only setup that must not open another application:
npm create srijika@latest my-app -- --no-openThe starter is minimal and does not include TanStack Query by default. Opt in only when the application needs server caching or mutation lifecycle:
npm create srijika@latest my-app -- --react-queryKeep one root package manager and give each Vite or Next.js application its own Srijika project contract. Srijika can discover the apps, generate VS Code and MCP routing, and aggregate architecture plus owner-test verification:
npx @srijika/cli workspace init . --dry-runnpx @srijika/cli workspace init .npx @srijika/cli workspace check .npx @srijika/cli workspace tests sync .All surfaces follow the same Feature → Slot → Part contract and use the same scaffold and validation rules.
Terminal only
Create, extend, check, run, build, and preview the project with the published CLI. No desktop application is needed.
VS Code
Use generated tasks and the optional Srijika Language Support extension for structure-aware creation and diagnostics.
Codex or MCP
Generated MCP configuration lets an AI inspect, validate, preview, and safely scaffold the project without Studio.
Desktop Studio
Optionally open the same project for visual source selection, live application preview, UI hierarchy, contracts, and bounded visual edits.
npx @srijika/cli doctornpx @srijika/cli checkdoctor explains the detected Node version, optional Bun runtime, package
manager, lockfile, and project scripts. check enforces required UI + Connector
pairs and the progressive Connector → Hook → Store → Logic → API chain.
npx @srijika/cli add feature Dashboard --hook --store --logic --api --typesnpx @srijika/cli add slot Summary --in src/features/dashboard --hook --logicnpx @srijika/cli add part MetricCard --in src/features/dashboard/slots/summary --typesnpx @srijika/cli add shared-ui Button --typesnpx @srijika/cli add shared-widget UserMenu --hook --storenpx @srijika/cli add shared-capability Auth --hook --store --logic --api --typesUse --dry-run to inspect the exact file plan before writing it. Existing files
are never silently overwritten. Shared creation is limited to pure UI,
UI+Connector Widget, or UI-less Headless Capability owners; arbitrary shared
folders are rejected.
The following steps are for contributors working on the Srijika Studio repository—not for developers creating an application with the public CLI.
From the repository root:
pnpm install --frozen-lockfilepnpm devThe browser editor runs at http://localhost:5173/. Browser mode is
intentionally limited: it has no project-directory or process authority.
Run the complete desktop shell with:
pnpm tauri devLinux and WSL require the WebKitGTK and Tauri prerequisites listed in the canonical Development Setup reference.
pnpm verifyThis includes the supported code-first browser lane and the two native core crates. Full-workspace Rust checks that include the Tauri shell still require the documented native dependencies.