Automic VaultAutomic Vault

cask

claude-code mit Homebrew Cask installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für claude-code in AI-Agent-Workflows.

Agent-Sicherheit

Antwort zur Agent-Sicherheit

claude-code is an AI coding agent with local file and command access potential.

Credential-Zugriff

May access project files, model credentials, and local tool configs exposed to the session.

Änderungen an Remote-Zustand

Can drive tools that mutate Git, cloud, package, or deployment state.

Publish-/Artefakt-Risiko

Can generate code and execute release or deployment commands.

Empfohlene Kontrolle

Run under containment and gate sensitive host tool actions.

Hinweise für Agent-Nutzung

Limit workspace scope; require approval before secret exposure, publishing, or remote writes.

Installation

Weitere Installationsbefehle

macOS

Homebrew Caskverifiziert · 100%
brew install --cask claude-code

local Homebrew cask metadata

Überblick

Paketzusammenfassung

Terminal-based AI coding assistant

Befehle und Aliase

  • claude

Verlauf

Projektgeschichte und Nutzung

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.

Projektgeschichte

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.

Adoptionsgeschichte

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.

Wie es verwendet wird

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.

Warum Paket-Nerds sich dafür interessieren

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.

Zeitleiste

  • 2025-02-24: Anthropic announces Claude Code as a limited research preview with Claude 3.7 Sonnet.
  • 2025-02-24: npm registry records creation of `@anthropic-ai/claude-code`.
  • 2026: Official README marks npm installation deprecated in favor of native install, Homebrew, and WinGet.
  • 2026-06: npm registry records published version 2.1.196 after 448 published versions.

Related projects

  • Claude 3.7 Sonnet is the model announcement alongside Claude Code's public research preview.
  • Model Context Protocol is documented by Claude Code as the way to connect external tools and data sources.
  • Claude Code Router, Claude Code Templates, claude-cmd, claude-hooks, and Claude Squad are related companion packages in this batch.
  • Anthropic's VS Code, JetBrains, desktop, web, Slack, GitHub Actions, and GitLab CI/CD integrations are official adjacent surfaces.

Sicherheitslage

Noch keine Protected-Tool-Abdeckung gefunden

Für claude-code wurde kein passendes lokales Secret-Handling-Manifest gefunden. Nucleus-Paketmetadaten bleiben hier veröffentlicht, damit künftige Abdeckung eine stabile Paket-URL hat.

Installationsverhalten

  • In den Formelmetadaten ist kein Homebrew-Post-install-Hook erfasst.
  • Es wurden keine Homebrew-Bottle-Metadaten erfasst.

Empfohlene Prüfung

Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.

local files

Configuration and credential file locations

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.

Configuration files

Config paths the tool may read or write during local use.

Unix
~/.claude/settings.json.claude/settings.json.claude/settings.local.json~/.claude.json.mcp.json
Windows
%USERPROFILE%\.claude\settings.json.claude\settings.json.claude\settings.local.json%USERPROFILE%\.claude.json.mcp.json

Credential files

Credential-bearing paths to review before unattended agent runs.

Linux
~/.claude/.credentials.json
Windows
%USERPROFILE%\.claude\.credentials.json

Executables

Installierte Executables

BefehlArtSichtbarkeitHinweis
claudeBinärdateiHomebrew-Cask-Binärdateiclaude

Aktualität

Version und Aktualität

Diese Signale trennen das Alter der Seitengenerierung, Aktivität des Paketmanagers und Upstream-Release-Vergleich. Versionsrückstand wird nur gemeldet, wenn eine Evidenz-URL und vergleichbare Versionen vorhanden sind.

Seite generiert2026-07-25
Manager-Version2.1.211
Manager aktualisiert2026-07-24
lokale DatenOK
Upstreamnot checked
neueste erkannte Versionnicht erkannt

https://claude.com/product/claude-code

Installationsmetadaten

Paketmetadaten

Paketschlüsselcask:claude-code
Version2.1.211
PaketmanagerHomebrew Cask
Paketmanager-Seitehttps://formulae.brew.sh/cask/claude-code
Homepagehttps://claude.com/product/claude-code
Upstream-Dokumentationhttps://claude.com/product/claude-code
Quellarchivhttps://downloads.claude.ai/claude-code-releases/2.1.212/darwin-arm64/claude
Zuletzt aktualisiert2026-07-24T19:07:33Z
Pulseupdated
SHA-25609ecba2ab2df9b6ee5b0695e26f65dea60fb3b6af3d3542ee09f466838d1e574
Download-URLhttps://downloads.claude.ai/claude-code-releases/2.1.211/darwin-arm64/claude
Bottlenicht erfasst
Homebrew post-installnicht definiert
Dienstkeiner deklariert

Registry-Fakten

Details aus der Quelldatenbank

Source DatabaseHomebrew cask API
Taphomebrew/cask
Full Tokenclaude-code
Names
  • Claude Code
Artifacts
Deprecatedno
Disabledno

Source-Datenbank-Treffer

Andere Paketmanager-Einträge

Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.

Nix95%

claude-code

nix profile install nixpkgs#claude-code
  • normalized package name match
  • Abgeglichen nach: Claude Code
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/cl/claude-code/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
MacPorts95%

claude-code

sudo port install claude-code
  • normalized package name match
  • Abgeglichen nach: Claude Code
MacPorts ports tree · api.github.com · MacPorts ports tree: llm/claude-code/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Chocolatey95%

claude-code

choco install claude-code
  • normalized package name match
  • Abgeglichen nach: Claude Code
Chocolatey community package catalog · community.chocolatey.org · Chocolatey community package catalog: claude-code from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','chocolatey-preinstaller-checks.extension'
Scoop95%

main/claude-code

scoop install main/claude-code
  • normalized package name match
  • Abgeglichen nach: Claude Code
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/claude-code.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
winget95%

Anthropic.ClaudeCode

winget install --id Anthropic.ClaudeCode -e
  • normalized package name match
  • Abgeglichen nach: Claude Code
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: Anthropic.ClaudeCode from https://cdn.winget.microsoft.com/cache/source.msix
winget95%

ronghuaxueleng.ClaudeCodeConfigManager.CLI

winget install --id ronghuaxueleng.ClaudeCodeConfigManager.CLI -e
  • normalized package name match
  • Abgeglichen nach: Claude Code
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: ronghuaxueleng.ClaudeCodeConfigManager.CLI from https://cdn.winget.microsoft.com/cache/source.msix
Scoop92%

extras/claude

scoop install extras/claude
  • installed executable or alias match
  • Abgeglichen nach: Claude
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/claude.json from https://api.github.com/repos/ScoopInstaller/Extras/git/trees/master?recursive=1
winget92%

Anthropic.Claude

winget install --id Anthropic.Claude -e
  • installed executable or alias match
  • Abgeglichen nach: Claude
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: Anthropic.Claude from https://cdn.winget.microsoft.com/cache/source.msix

Quellspur

Aus Repository-Daten generiert

Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.

Verwendete Quellen

  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated agent safety answer
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment