Search by

crom / cli

cedricchetty

Crom CLI — create new Crom sites (like `crom new my-site`).

v1.0.1 2026-11-28 18:59 UTC

This package is auto-updated.

Last update: 2026-11-28 19:02:04 UTC


README

Create new Crom sites with a short setup wizard:

composer global require crom/cli
crom new my-site

You will be asked for:

  • project directory name (if omitted)
  • site name (APP_NAME)
  • first super admin (name, email, password)

Then open /crom on your local URL.

Commands

Command Description
crom new my-site composer create-project crom/starter + prompts
crom new my-site --email=a@b.c --password=secret Non-interactive user flags
crom new my-site --dev Local path install (expects crom + crom-starter next to this package under crom-cms/)
crom new my-site --no-user Skip admin creation

Requirements

  • PHP 8.2+
  • Composer 2
  • crom/starter + crom/crom on Packagist (or --dev for local paths)

License

MIT