CLI Options
Complete reference for C3 command-line options and flags.
Basic Usage
Terminal
ccc [options]
# Start with defaults
ccc
# Show help
ccc --help
# Show version
ccc --versionPort Configuration
| Option | Default | Description |
|---|---|---|
| --mqtt-port | 8884 | Internal messaging port |
| --terminal-port | 3001 | Terminal server port |
| --router-port | 8883 | Router/proxy port |
Terminal
# Custom ports example
ccc --mqtt-port 9000 --terminal-port 9001 --router-port 9002Authentication
| Option | Required | Description |
|---|---|---|
| -u, --username | Yes | Authentication username |
| -p, --password | Yes | Authentication password |
Required
Authentication is required. C3 will not start without a username and password set.
Terminal
# With authentication
ccc -u myuser -p mysecretpasswordngrok Options
| Option | Description |
|---|---|
| --ngrok-token | ngrok authentication token |
| --ngrok-domain | Static ngrok domain |
Terminal
# Full ngrok setup
ccc --ngrok-token abc123xyz \
--ngrok-domain myapp.ngrok-free.app \
-u admin -p secretpassOther Options
| Option | Description |
|---|---|
| -d, --debug | Enable debug logging |
| --no-auto-update | Disable auto-update checking |
| --auto-update-check-interval | Update check interval in minutes (default: 60) |
| --terminal-audit | Enable terminal input audit logging |
| -v, --version | Show version number |
| -h, --help | Show help message |