# 使用 Homebrew 安装 claude-cmd

查看 claude-cmd 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:claude-cmd
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install claude-cmd
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:claude-cmd
- **软件包管理器:** Homebrew
- **版本:** 1.1.1
- **来源摘要:** Claude Code Commands Manager
- **主页:** <https://github.com/kiliczsh/claude-cmd>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- claude-cmd (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 1.1.1
## 项目历史与用法

claude-cmd is a small npm-distributed command manager for Claude Code users. Its official README positions it as a lightweight CLI for managing custom commands, Claude configuration files, security profiles, and MCP server settings.

### 项目历史

The npm package was first published in July 2025, shortly after Claude Code created a market for reusable slash commands, CLAUDE.md files, and .claude project configuration. The project keeps the shape of a classic single-purpose developer CLI: install it globally, run `claude-cmd`, and use menus or subcommands to search, install, and manage Claude Code command assets.

The official README emphasizes command discovery, CLAUDE.md generation, local and remote command repositories, security profiles, and MCP integration. That makes the project part of the first wave of community tools that treated Claude Code configuration as packageable developer infrastructure rather than one-off dotfiles.

### 采用历史

The package is distributed through npm as `claude-cmd`; the npm registry metadata records five published versions and published version 1.1.1. Homebrew also packages the npm tarball as formula `claude-cmd`, giving macOS and Linux users a package-manager install path alongside npm.

The source trail is narrow: official sources document npm and Homebrew distribution, but there is not enough primary evidence to claim broad adoption outside the Claude Code power-user niche.

### 使用方式

Typical use is interactive: run `claude-cmd` to browse command-management menus. The README also documents direct subcommands for listing installed commands, searching local or remote command repositories, installing a command, and showing version help.

The tool writes into Claude Code's normal configuration area, including `~/.claude/settings.json` and project `.claude/settings.json` or `.claude/settings.local.json`, so it complements rather than replaces Claude Code's own settings model.

### 为什么软件包爱好者会关心

For package-manager people, claude-cmd is interesting as a dotfile-era tool recast for AI coding agents: it packages prompts, slash commands, MCP references, and project instruction files into something discoverable and installable from a CLI.

Its Homebrew formula wraps an npm tarball, a common pattern for JavaScript CLIs that want to be available to users who think in `brew install` rather than `npm install -g`.

### 时间线

- 2025-07: npm registry records the first `claude-cmd` publication.
- 2025-07: npm registry records published version 1.1.1 after five published versions.
- 2026: Homebrew formula `claude-cmd` packages version 1.1.1 from the npm registry.

### Related projects

- Claude Code is the host tool whose commands and settings claude-cmd manages.
- Model Context Protocol servers are part of the configuration surface the README says claude-cmd can manage.
- Claude Code Templates is a related community catalog for agents, commands, hooks, MCPs, and settings.

### 来源

- <https://github.com/kiliczsh/claude-cmd>
- <https://registry.npmjs.org/claude-cmd>
- <https://formulae.brew.sh/api/formula/claude-cmd.json>
- <https://code.claude.com/docs/en/settings.md>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals


## 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

- Unix: ~/.claude/settings.json, ./.claude/settings.json, ./.claude/settings.local.json

## Combined YAML source

View the package source record on GitHub. [combined/claude-cmd.yml](https://github.com/mxcl/pkgdb/blob/main/combined/claude-cmd.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- cross-ecosystem install command graph
