Skip to content

Environment Variables

WarpDL can be configured using environment variables. These take precedence over default values.

VariableDescriptionDefault
WARPDL_SOCKET_PATHUnix socket path for daemon communication/tmp/warpdl.sock
WARPDL_TCP_PORTTCP port for daemon (1-65535)3849
WARPDL_FORCE_TCPForce TCP instead of Unix socket (set to “1”)false
WARPDL_PIPE_NAMEWindows named pipe namewarpdl
VariableDescriptionDefault
WARPDL_DEBUGEnable debug logging (set to “1”)false
WARPDL_SUPPRESS_VERSION_CHECKSuppress version check warnings (set to “1”)false
VariableDescriptionDefault
WARPDL_PROXYDefault proxy URL for downloadsnone
WARPDL_TIMEOUTPer-request timeout in seconds30
WARPDL_MAX_RETRIESMaximum retry attempts5
WARPDL_RETRY_DELAYBase retry delay in milliseconds500
VariableDescriptionDefault
WARPDL_CONFIG_DIRConfiguration directory path~/.config/warpdl
WARPDL_COOKIE_KEYCredential encryption key (hex format)auto-generated
  • WARPDL_SOCKET_PATH is used for IPC by default
  • Set WARPDL_FORCE_TCP=1 to use TCP instead
  • WARPDL_PIPE_NAME is used for named pipe IPC
  • Falls back to TCP if named pipes fail