.claude config, device identity, Claude Code version, and optional proxy.
create
Create a new environment.| Flag | Description |
|---|---|
-p, --proxy | Proxy address. Optional. |
-c, --claude | Claude Code version to pin. Auto-installs if not present. |
--type | local (default) or container. |
Environment names must be alphanumeric, dashes, or underscores. Names like
my-work and prod_us1 are valid; my/work is not.ls
List all environments.▶ marker shows the active environment.
activate
Activate an environment. This is global — affects all terminals.- Sets
~/.cac/currentto the environment name - Updates statsig and user ID files in the isolated
.claudeconfig - Restarts relay if TUN is detected and proxy is configured
deactivate
Deactivate the current environment. Claude Code runs unprotected.check
Run diagnostics on the current active environment.- Environment info (proxy, UUID, version, timezone)
- Proxy connectivity and exit IP (if proxy configured)
- TUN conflict detection (if proxy configured)
- Security protections (DNS guard, telemetry env vars, mTLS)