Skip to main content
All CLI flags can be set via environment variables. CLI flags take precedence over environment variables.

Core Flags

path
Path to log file for debug output.When specified, logs are written to both stderr (default) and the specified file.Environment variable: TYPEMUX_CC_LOG_FILEDefault: Not set (stderr only)Example:
integer
default:"8"
Maximum number of concurrent LSP backend processes.The proxy maintains a pool of backends (one per .venv). When the pool reaches this limit, the least recently used backend is evicted to make room for new ones.Environment variable: TYPEMUX_CC_MAX_BACKENDSValid range: Minimum 1, no upper limitDefault: 8Example:
integer
default:"1800"
Backend time-to-live (TTL) in seconds.Idle backends are automatically evicted after this timeout to free memory. Set to 0 to disable TTL eviction (backends only evicted via LRU when pool is full).Environment variable: TYPEMUX_CC_BACKEND_TTLDefault: 1800 (30 minutes)Example:
enum
default:"pyright"
LSP backend type to use for Python type checking.Environment variable: TYPEMUX_CC_BACKENDValid values:
  • pyright - Microsoft’s Pyright type checker (default)
  • ty - Google’s ty type checker
  • pyrefly - Astral’s pyrefly type checker
Default: pyrightExample:

Usage Examples

Basic Usage

Enable Logging

Large Monorepo Configuration

Use Alternative Backend

Combine Multiple Flags

Flag Precedence

When both CLI flags and environment variables are set:
  1. CLI flags take precedence over environment variables
  2. Environment variables are used if no CLI flag is provided
  3. Default values are used if neither is set
Example:

See Also