凭据访问
May access project files, model credentials, and local tool configs exposed to the session.
代理安全
claude-code is an AI coding agent with local file and command access potential.
May access project files, model credentials, and local tool configs exposed to the session.
Can drive tools that mutate Git, cloud, package, or deployment state.
Can generate code and execute release or deployment commands.
Run under containment and gate sensitive host tool actions.
Limit workspace scope; require approval before secret exposure, publishing, or remote writes.
安装
brew install --cask claude-codelocal Homebrew cask metadata
概览
Terminal-based AI coding assistant
历史
Claude Code is Anthropic's agentic coding tool for the terminal and related developer surfaces. Official docs describe it as a coding assistant that reads a codebase, edits files, runs commands, integrates with development tools, and works across terminal, IDE, desktop, browser, and automation surfaces.
Anthropic introduced Claude Code on February 24, 2025 alongside Claude 3.7 Sonnet, calling it a limited research preview for delegating substantial engineering tasks to Claude directly from a terminal. The npm registry records the `@anthropic-ai/claude-code` package as created the same day.
The project later shifted away from npm as the preferred install path. The official GitHub README now says npm installation is deprecated and points users to native installers, Homebrew, WinGet, and setup documentation. Official docs describe Claude Code as available through terminal, VS Code, JetBrains, desktop, web, GitHub/GitLab CI, Slack, and other workflow surfaces.
Official distribution broadened from the original npm package to native install scripts for macOS, Linux, WSL, and Windows, Homebrew casks, WinGet, and Linux package managers including apt, dnf, and apk. Homebrew's `claude-code` cask tracks the stable channel, while docs mention `claude-code@latest` for the latest channel.
The npm registry remains a useful historical source: it records 448 package versions and published version 2.1.196 by June 2026. Homebrew cask metadata records the cask binary artifact as `claude`, with cask zap paths covering Claude cache, config, local state, and `.claude` directories.
The CLI is launched as `claude` from a project directory. Official docs highlight workflows such as building features, fixing bugs, writing tests, resolving merge conflicts, updating dependencies, creating commits and pull requests, connecting tools through MCP, customizing with CLAUDE.md, skills, and hooks, and piping command output into the CLI.
Claude Code stores settings in user and project scopes: `~/.claude/settings.json`, `.claude/settings.json`, and `.claude/settings.local.json`; it stores other configuration in `~/.claude.json` and project MCP servers in `.mcp.json`. These files became a configuration surface for many companion tools in this batch.
Claude Code is package-nerd significant because it rapidly turned an AI coding assistant into a multi-channel developer toolchain package: npm for early installs, native auto-updating binaries, Homebrew casks, WinGet manifests, Linux packages, IDE extensions, and CI actions all point at the same underlying agent.
It also created a secondary package ecosystem. Tools such as Claude Code Router, Claude Code Templates, claude-cmd, claude-hooks, and Claude Squad exist because Claude Code exposes configurable files, commands, hooks, MCP servers, worktrees, and terminal workflows that can be wrapped, routed, templated, or orchestrated.
安全态势
没有找到 claude-code 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
~/.claude/settings.json.claude/settings.json.claude/settings.local.json~/.claude.json.mcp.json%USERPROFILE%\.claude\settings.json.claude\settings.json.claude\settings.local.json%USERPROFILE%\.claude.json.mcp.jsonCredential-bearing paths to review before unattended agent runs.
~/.claude/.credentials.json%USERPROFILE%\.claude\.credentials.json可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
claude | 二进制 | Homebrew cask 二进制 | claude |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://claude.com/product/claude-code
安装元数据
| 软件包键 | cask:claude-code |
|---|---|
| 版本 | 2.1.211 |
| 软件包管理器 | Homebrew Cask |
| 软件包管理器页面 | https://formulae.brew.sh/cask/claude-code |
| 主页 | https://claude.com/product/claude-code |
| 上游文档 | https://claude.com/product/claude-code |
| 源码归档 | https://downloads.claude.ai/claude-code-releases/2.1.212/darwin-arm64/claude |
| 最后更新 | 2026-07-24T19:07:33Z |
| Pulse | updated |
| SHA-256 | 09ecba2ab2df9b6ee5b0695e26f65dea60fb3b6af3d3542ee09f466838d1e574 |
| 下载 URL | https://downloads.claude.ai/claude-code-releases/2.1.211/darwin-arm64/claude |
| Bottle | 未记录 |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew cask API |
|---|---|
| Tap | homebrew/cask |
| Full Token | claude-code |
| Names |
|
| Artifacts | |
| Deprecated | no |
| Disabled | no |
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
claude-code
nix profile install nixpkgs#claude-codeclaude-code
sudo port install claude-codeclaude-code
choco install claude-codemain/claude-code
scoop install main/claude-codeAnthropic.ClaudeCode
winget install --id Anthropic.ClaudeCode -eronghuaxueleng.ClaudeCodeConfigManager.CLI
winget install --id ronghuaxueleng.ClaudeCodeConfigManager.CLI -eextras/claude
scoop install extras/claudeAnthropic.Claude
winget install --id Anthropic.Claude -e来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.