C
Docs

CLI Options

Complete reference for C3 command-line options and flags.

Basic Usage

ccc [options]

# Start with defaults
ccc

# Show help
ccc --help

# Show version
ccc --version

Port Configuration

OptionDefaultDescription
--mqtt-port8884Internal messaging port
--terminal-port3001Terminal server port
--router-port8883Router/proxy port
# Custom ports example
ccc --mqtt-port 9000 --terminal-port 9001 --router-port 9002

Authentication

OptionRequiredDescription
-u, --usernameYesAuthentication username
-p, --passwordYesAuthentication password

Required

Authentication is required. C3 will not start without a username and password set.

# With authentication
ccc -u myuser -p mysecretpassword

ngrok Options

OptionDescription
--ngrok-tokenngrok authentication token
--ngrok-domainStatic ngrok domain
# Full ngrok setup
ccc --ngrok-token abc123xyz \
    --ngrok-domain myapp.ngrok-free.app \
    -u admin -p secretpass

Other Options

OptionDescription
-d, --debugEnable debug logging
--no-auto-updateDisable auto-update checking
--auto-update-check-intervalUpdate check interval in minutes (default: 60)
--terminal-auditEnable terminal input audit logging
-v, --versionShow version number
-h, --helpShow help message