Skip to main content

Configuration

Config File

Located at ~/.codewire/config.toml. Used for standalone mode (node, relay, sessions).

Platform Config

Platform mode stores its configuration separately in ~/.codewire/:
  • platform.json — server URL, auth tokens, selected org/resource
  • Created automatically by cw setup
Platform config is independent of the standalone config — you can use both modes simultaneously.

Environment Variables

Environment variables override config file values.

Data Directory

~/.codewire/ contains all runtime state.

Global Flags

All commands accept these global flags:

Wire Protocol

Binary frame-based protocol used over both Unix socket and WebSocket.