管理 Claude Code 二进制版本。二进制文件从 Anthropic 官方分发渠道下载,并进行 SHA256 校验验证。Documentation Index
Fetch the complete documentation index at: https://cac.nextmind.space/docs/llms.txt
Use this file to discover all available pages before exploring further.
install
下载并安装 Claude Code 版本。cac env create 中使用 -c latest 时,版本会被解析并自动安装——无需先运行 install。
ls
列出所有已安装的 Claude Code 版本。latest、每个版本被多少个环境使用,以及系统安装的 Claude Code 路径(如果存在)。
pin
将当前活跃环境锁定到指定版本。~/.cac/envs/<name>/version。包装器在启动时解析此文件,因此更改会在下次 claude 调用时生效。