Skip to content

CLI Reference

The SideSeat CLI starts the local workbench server and configures its behavior.

Terminal window
# Global install (recommended)
npm install -g sideseat
sideseat
# One-off run
npx sideseat
Terminal window
sideseat [OPTIONS] [COMMAND]
CommandDescription
startStart the server (default)
system pruneDelete local data directory. Use -y to skip confirmation

Running sideseat without a command is equivalent to sideseat start.

OptionEnv VariableDefaultDescription
-H, --hostSIDESEAT_HOST127.0.0.1Server host address
-p, --portSIDESEAT_PORT5388Server port
--no-auth-falseDisable authentication
--debugSIDESEAT_DEBUGfalseEnable debug mode
-c, --configSIDESEAT_CONFIG-Config file path
OptionEnv VariableDefaultDescription
--otel-grpcSIDESEAT_OTEL_GRPC_ENABLEDfalseEnable gRPC endpoint
--otel-grpc-portSIDESEAT_OTEL_GRPC_PORT4317gRPC port
--otel-retention-max-ageSIDESEAT_OTEL_RETENTION_MAX_AGE_MINUTES(none)Max age in minutes
--otel-retention-max-spansSIDESEAT_OTEL_RETENTION_MAX_SPANS5000000Max spans to retain
--otel-auth-requiredSIDESEAT_OTEL_AUTH_REQUIREDfalseRequire auth for ingestion
OptionEnv VariableDefaultDescription
--analytics-backendSIDESEAT_ANALYTICS_BACKENDduckdbduckdb or clickhouse
--transactional-backendSIDESEAT_TRANSACTIONAL_BACKENDsqlitesqlite or postgres
--postgres-urlSIDESEAT_POSTGRES_URL-PostgreSQL connection URL
--clickhouse-urlSIDESEAT_CLICKHOUSE_URL-ClickHouse connection URL
OptionEnv VariableDefaultDescription
--cache-backendSIDESEAT_CACHE_BACKENDmemorymemory or redis
--cache-max-entriesSIDESEAT_CACHE_MAX_ENTRIES10000Max cache entries
--cache-eviction-policySIDESEAT_CACHE_EVICTION_POLICYtinylfutinylfu or lru
--cache-redis-urlSIDESEAT_CACHE_REDIS_URL-Redis connection URL
OptionEnv VariableDefaultDescription
--rate-limit-enabledSIDESEAT_RATE_LIMIT_ENABLEDfalseEnable rate limiting
--rate-limit-per-ipSIDESEAT_RATE_LIMIT_PER_IPfalseEnable per-IP limits
--rate-limit-api-rpmSIDESEAT_RATE_LIMIT_API_RPM1000API requests/minute
--rate-limit-ingestion-rpmSIDESEAT_RATE_LIMIT_INGESTION_RPM10000Ingestion requests/minute
--rate-limit-auth-rpmSIDESEAT_RATE_LIMIT_AUTH_RPM100Auth requests/minute
OptionEnv VariableDefaultDescription
--files-enabledSIDESEAT_FILES_ENABLEDtrueEnable file storage
--files-storageSIDESEAT_FILES_STORAGEfilesystemfilesystem or s3
--files-quota-bytesSIDESEAT_FILES_QUOTA_BYTES1073741824Storage quota per project
OptionEnv VariableDefaultDescription
--mcpSIDESEAT_MCP_ENABLEDtrueEnable MCP server for AI agent access
OptionEnv VariableDefaultDescription
--pricing-sync-hoursSIDESEAT_PRICING_SYNC_HOURS24Pricing data sync interval (0 = disabled)
--no-update-checkSIDESEAT_NO_UPDATE_CHECKfalseDisable update check on startup
Terminal window
# Basic development server
sideseat
# With debug output
sideseat --debug
# Disable authentication
sideseat --no-auth
Terminal window
sideseat --port 8080
# Or via environment
SIDESEAT_PORT=8080 sideseat
Terminal window
# Allow connections from other machines
sideseat --host 0.0.0.0
Terminal window
sideseat --otel-grpc --otel-grpc-port 4317
Terminal window
sideseat \
--host 0.0.0.0 \
--analytics-backend clickhouse \
--clickhouse-url http://clickhouse:8123 \
--transactional-backend postgres \
--postgres-url postgres://user:pass@postgres:5432/sideseat \
--cache-backend redis \
--cache-redis-url redis://redis:6379 \
--rate-limit-enabled
Terminal window
# Delete local data directory (with confirmation prompt)
sideseat system prune
# Delete local data directory without confirmation
sideseat system prune -y
Terminal window
sideseat --config /path/to/sideseat.json

Configuration is loaded from multiple sources with this priority (highest first):

  1. CLI arguments: --port 8080
  2. Environment variables: SIDESEAT_PORT=8080
  3. Working directory config: ./sideseat.json
  4. User config: ~/.sideseat/sideseat.json
  5. Defaults: Built-in values
Terminal window
# Show version
sideseat --version
# Show help
sideseat --help
CodeDescription
0Success
1General error
2Configuration error
SignalBehavior
SIGINT (Ctrl+C)Graceful shutdown
SIGTERMGraceful shutdown
SIGHUPReload configuration