Get

Configuration

Precedence: command-line launch options → environment variables → ~/.config/aircode/config.json → defaults. The config file is created on first run (mode 0600 — it contains your password). The launch options available from the native Windows package are listed in the Windows CLI reference.

Common settings

Envconfig.jsonDefaultPurpose
AIRCODE_HOSThostTailscale IP, else 127.0.0.1Bind address (never 0.0.0.0 by default)
AIRCODE_PORTport7860 (auto-scan if busy)Port. An explicitly set port is never silently replaced
AIRCODE_AUTH_PASSWORDauthPasswordgeneratedAccess password. Empty string disables auth (dev only)
AIRCODE_PROJECTS_ROOTprojectsRootlaunch cwdDirectory whose subfolders are selectable projects
AIRCODE_MAX_SESSIONSmaxSessions32Concurrent session cap
AIRCODE_DEFAULT_PERMISSION_MODEdefaultPermissionModebypassDefault agent permission mode
AIRCODE_DEFAULT_EXECUTION_MODEdefaultExecutionModelocalDefault session environment (local or docker)
AIRCODE_DOCKER_ENABLEDdockerEnabledtrueExpose the optional Docker execution backend
AIRCODE_DOCKER_IMAGEdockerImageaircode-session-runtime:localOptional Docker worker image
AIRCODE_DOCKER_NETWORKdockerNetworkaircode-runtimeDedicated worker bridge
AIRCODE_DOCKER_CONTROL_PORTdockerControlPortAirCode port + 1000Stable capability-scoped worker callbacks
updateChannelstableRelease channel (stable / beta)

Engine binaries (claudeBin, codexBin, …) and per-feature settings (browser, knowledge, orchestration, token optimization) are documented in the in-product settings and accept the same env/file precedence.

See Docker sandbox for worker limits, networking and the complete Docker configuration.

Files & directories

PathContents
~/.aircode/versions/<v>the product (immutable, checksummed)
~/.aircode/currentsymlink to the active version
~/.config/aircode/config, license key, trial state (0600)
~/.local/state/aircode/runtime state

Updates never touch your config or data. Uninstalling is rm -rf ~/.aircode plus the config/state directories if you want a clean slate.

Multi-user machines

Each OS user runs their own instance: own port, own password, own agent accounts, own sessions. Install per user; aircode service install creates a per-user systemd unit.

License

aircode license activate <key>
aircode license status
aircode license deactivate     # frees the seat for another machine

Offline machines stay fully functional (30-day validation grace; perpetual licenses never phone home). See pricing for what restricted mode means — short version: launching new sessions pauses, nothing else.