Multitenant

CLI

`@multitenant/cli` — init, dev, check, print.

The multitenant binary: scaffold tenants.config.json, run the local dev proxy, validate config, and print resolution/debug output.

Install

npm install -D @multitenant/cli

Or run without installing the package ( npx / pnpm dlx / yarn dlx ) — see dev, check, print.

Commands

  • multitenant init — generate starter config and docs pointers
  • multitenant dev — proxy mode with tenant-by-host resolution and config hot reload (uses @multitenant/dev-proxy)
  • multitenant check — validate tenants.config.json (via @multitenant/config)
  • multitenant print — dump effective config / resolution hints for debugging

See also

On this page