Configuration examples
Start from a minimal configuration or a full annotated example.
Examples
Minimal config
An empty object, {}, gives you all defaults (2 vCPUs, 4 GiB RAM, 8 GiB disk).
Full config
{
"data_dir": "~/.iso",
"ssh_port": 22,
"github": "auto", // must be set explicitly; default is off
"vm": {
"vcpu_count": 4,
"mem_size_mib": 8192,
"template_size_gib": 20
},
"guest_env": { "RUST_LOG": "info" },
"claude": {
"config_dir": "~/.claude",
"env_forward": ["CUSTOM_TOKEN"],
"marketplaces": [
"https://github.com/anthropics/claude-plugins-official",
"/Users/me/local-marketplace"
],
"plugins": ["rust-analyzer-lsp@claude-plugins-official"],
"mcp_servers": {
"my-server": {
"command": "/usr/bin/my-mcp-server",
"args": ["--verbose"],
"env": { "API_KEY": "MY_API_KEY" }
}
}
},
"codex": {
"auth": "api_key",
"config_dir": "~/.codex",
"env_forward": ["CUSTOM_TOKEN"],
"mcp_servers": {
"playwright": { "command": "npx", "args": ["-y", "@playwright/mcp@latest"] }
}
},
"profiles": {
"my-tools": {
"apt_packages": ["ripgrep", "fd-find"],
"post_install": "npm install -g @ast-grep/cli"
}
},
"forward_ports": [3000, "8080:18080"]
}
Data-root ownership and purge rules are documented in
backend state. Explicit data_dir values are preserved.