Versions
A version is a Claude Code binary managed by cac. Binaries are downloaded from Anthropic’s official distribution and verified with SHA256 checksums.Environments
An environment is a complete, isolated context for running Claude Code. It includes:Activation
Activating an environment is global — it affects all terminals and all project directories. This is by design: your identity and proxy route are per-user concerns, not per-project.claude invocation and applies the environment’s settings.
New environments are automatically activated on creation — no separate activate step needed.
Proxy is optional
Two types of users:
When no proxy is configured, cac preserves your
ANTHROPIC_API_KEY, ANTHROPIC_BASE_URL, and ANTHROPIC_AUTH_TOKEN environment variables. When a proxy is configured, these are cleared to force OAuth authentication through the proxy.
Auto-install
When you reference a version that isn’t installed yet, cac downloads it automatically — just likeuv auto-installs Python versions:
-c latest resolves to the current latest version at the time of creation and pins that resolved version number.
Modifying environments
After creation, usecac env set to change an environment’s proxy or pinned version without recreating it: