> ## Documentation Index
> Fetch the complete documentation index at: https://docs.celeryroot.eu/llms.txt
> Use this file to discover all available pages before exploring further.

# CLI

> Run Celery Root as a standalone service or a Celery subcommand.

## Standalone CLI

```bash theme={null}
celery_root -A proj.celery:app
```

Options:

* `-A`, `--app`: Celery app import path. Can be repeated or comma-separated.
* `--host`: Bind the web UI to this host.
* `--port`: Bind the web UI to this port.
* `--debug/--no-debug`: Toggle Django debug mode.

You can also pass worker import paths as positional arguments.

## Celery subcommand

```bash theme={null}
celery -A proj.celery:app celery_root
```

Options are the same as the standalone CLI.

## Environment variables

* `CELERY_ROOT_WORKERS`: Comma-separated worker import paths.
* `CELERY_ROOT_MCP_AUTH_KEY`: Required if MCP is enabled.
* Auth-related variables are listed in the Authentication guide.
