Skip to content

Configuration

Configure once. Stop repeating flags.

Terminal window
kling context add lab ssh://juan@192.168.2.60 -description "Proxmox de casa"
kling context use lab
kling context ls

Precedence: -H > $KLING_HOST > active context > local socket.

Terminal window
kling config set defaults.image min
kling config set defaults.ttl_seconds 600
kling config set gateway.idle 5m
kling config set daemon.vmm vz
kling config set daemon.cow auto
kling config show

The file is ~/.config/kling/config.json, on macOS too.

Terminal window
kling plugin install mcp # verified against the release's SHA256SUMS
kling plugin install sandbox
kling plugin ls # path, sha256 and state
kling plugin disable ai
Terminal window
kling doctor

Output (one line)

! authz no authz policy: whoever reaches the daemon's socket controls everything
fix: fine on a single-user host; to share it, write /etc/kling/authz.json and restart the daemon (docs/authz.md)

Shell completion: kling completion install.