PreviousNext

CLI

Create, customize, and maintain Creatorem projects from the command line.

The @creatorem/cli package is the fastest way to scaffold or reshape a Creatorem codebase.

You can use it to:

  • create a full monorepo
  • create or edit dashboard/mobile apps
  • keep only selected features
  • generate SQL schemas and migrations

Installation

You can run the CLI directly with npx:

pnpm dlx @creatorem/cli create

Or install it globally:

npm i -g @creatorem/cli
creatorem create

Main commands

creatorem create
creatorem create-dashboard <name>
creatorem create-mobile <name>
creatorem generate-schemas [input] [output]
creatorem generate-migration
creatorem help

Create a monorepo

Use create to bootstrap a new project with interactive choices.

creatorem create

During setup, you can choose:

  • project name
  • which apps to include (dashboard, marketing, mobile)
  • dashboard/mobile feature sets
  • languages (English + optional extras)
  • git initialization

Create or edit one app

Dashboard

creatorem create-dashboard my-dashboard --features ai,keybindings

Mobile

creatorem create-mobile my-mobile --features organization,onboarding

Edit an existing app in place

creatorem create-dashboard --edit --features ai,analytics --repo-scope

--repo-scope also applies cleanup outside the app (workspace packages, kit modules, SQL assets, etc.).

Feature selection

When using create-dashboard and create-mobile, the --features flag keeps only the features you list.

Dashboard feature keys

  • organization
  • keybindings
  • analytics
  • monitoring
  • ai
  • notification
  • billing
  • content-type
  • onboarding
  • email-templates
  • emailer

Mobile feature keys

  • organization
  • notification
  • onboarding

SQL utilities

Generate schemas

creatorem generate-schemas .creatorem/setup.json supabase/app-schemas

This command creates SQL files from your JSON setup and can also copy extra SQL files from a local schemas folder.

Generate migration

creatorem generate-migration

This command merges supabase/schemas and supabase/app-schemas, then writes a generated migration file in supabase/migrations.

Files generated by the CLI

Depending on the command, the CLI writes metadata files in .creatorem:

  • .creatorem/monorepo.json: monorepo-level selection
  • .creatorem/features.json: app-level selected features

It may also generate:

  • .env.template (and sometimes .env)
  • locale folders and language config updates

Troubleshooting

Command not found

Run with npx:

pnpm dlx @creatorem/cli help

I removed too many modules

Run the command again with a wider --features list, or re-run create from a clean repository state.

SQL output does not look right

Check your setup.json path, then regenerate schemas first and migration second:

creatorem generate-schemas
creatorem generate-migration

Next steps

How is this guide?

Last updated on 2/27/2026