# 使用 Homebrew, MacPorts 安装 ccm

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

## 安装

```sh
sudo av install brew:ccm
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install ccm
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install ccm
```

  证据: MacPorts ports tree: databases/ccm/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:ccm
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/ccm>
- **版本:** 3.1.5
- **来源摘要:** Create and destroy an Apache Cassandra cluster on localhost
- **主页:** <https://github.com/apache/cassandra-ccm>
- **仓库:** <https://github.com/apache/cassandra-ccm>
- **上游文档:** <https://github.com/apache/cassandra-ccm#readme>
- **许可证:** Apache-2.0
- **源码归档:** <https://files.pythonhosted.org/packages/f1/12/091e82033d53b3802e1ead6b16045c5ecfb03374f8586a4ae4673a914c1a/ccm-3.1.5.tar.gz>
- **已生成:** 2026-07-08T18:08:21+00:00

## 可执行文件

- ccm (cli)
- ccm (别名)

## 依赖

- libyaml
- python@3.14

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 3.1.5
- 本地数据: OK
- 上游仓库: https://github.com/apache/cassandra-ccm
- 信息: No package-manager update timestamp was available.
- 信息: No cached GitHub release or tag data was available.
## 项目历史与用法

CCM, the Cassandra Cluster Manager, is a Python command-line tool for creating, launching, testing, and destroying local Apache Cassandra clusters. It matters in package-manager catalogs because it packages a repeatable local Cassandra lab into a single executable rather than leaving users to hand-wire several Cassandra nodes.

### 项目历史

The official Apache repository describes CCM as a script and library for creating, managing, and destroying a small Cassandra cluster on a local box for testing. The GitHub repository was created in 2011 and is now hosted under the Apache organization as apache/cassandra-ccm.

The install documentation notes that CCM predates the modern Python packaging defaults and then explains current Python 3, virtualenv, and editable-install workflows, which reflects the project's long life across Cassandra and Python eras.

### 采用历史

The official install document points users to PyPI and Homebrew packages, so CCM has been distributed both as a Python package and as a Unix package-manager formula. The input package facts also list Homebrew and MacPorts package names.

### 使用方式

Typical usage creates a named Cassandra cluster for a given Cassandra release or source tree, populates it with local nodes, starts the nodes, inspects rings or logs, and later removes the cluster. By default, node data and configuration live under ~/.ccm/<cluster_name>/, while downloaded Cassandra releases are cached under ~/.ccm/repository/.

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

CCM is a good example of a package-manager utility whose value is not a single algorithm but a reproducible local topology. It turns Cassandra cluster setup into a developer-facing CLI workflow and is especially useful for tests, demos, compatibility checks, and package maintainers who need disposable Cassandra environments.

### 时间线

- 2011: Official GitHub repository created.
- 2010s: README documents local multi-node Cassandra cluster creation and versioned Cassandra downloads.
- 2020s: Install guide documents Python 3, virtualenv, Apple Silicon, and modern macOS caveats.

### Related projects

- Apache Cassandra is the database system CCM manages locally.
- DataStax Enterprise and Hyper Converged Database are mentioned by the README as third-party cluster types supported through CCM extensions.

### 来源

- <https://api.github.com/repos/apache/cassandra-ccm>
- <https://github.com/apache/cassandra-ccm>
- <https://github.com/apache/cassandra-ccm#readme>
- <https://formulae.brew.sh/api/formula/ccm.json>


## 安全说明

infrastructure mutation or orchestration signal.

- **Geiger 风险:** orange / 中
- infrastructure mutation or orchestration signal


## 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: ~/.ccm/<cluster_name>/
## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** ccm
- **Version Scheme:** 0
- **Revision:** 5
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## 其他软件包管理器记录

- MacPorts - ccm: normalized package name match | MacPorts ports tree: databases/ccm/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## 相关链接

- [Source-control packages](https://www.automicvault.com/zh-hans/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://www.automicvault.com/zh-hans/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/zh-hans/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [python@3.14](https://www.automicvault.com/zh-hans/pkg/brew/python-3-14/) - Runtime dependency declared by Homebrew.
- [cmus](https://www.automicvault.com/zh-hans/pkg/brew/cmus/) - Shares av.db curated category or tags: audio, cli, media, music-player, terminal.
- [moc](https://www.automicvault.com/zh-hans/pkg/brew/moc/) - Shares av.db curated category or tags: audio, cli, media, music-player, terminal.
- [mufetch](https://www.automicvault.com/zh-hans/pkg/brew/mufetch/) - Shares av.db curated category or tags: cli, media, music, terminal.
- [abcmidi](https://www.automicvault.com/zh-hans/pkg/brew/abcmidi/) - Shares av.db curated category or tags: cli, media, music.
- [adplay](https://www.automicvault.com/zh-hans/pkg/brew/adplay/) - Shares av.db curated category or tags: audio, cli, media, music-player.
- [audacious](https://www.automicvault.com/zh-hans/pkg/brew/audacious/) - Shares av.db curated category or tags: audio, cli, media, music-player.
- [cava](https://www.automicvault.com/zh-hans/pkg/brew/cava/) - Shares av.db curated category or tags: audio, cli, media, terminal.
- [chordii](https://www.automicvault.com/zh-hans/pkg/brew/chordii/) - Shares av.db curated category or tags: cli, media, music.
- [kew](https://www.automicvault.com/zh-hans/pkg/brew/kew/) - Both packages work with overlapping file formats or content types. Shared terms: audio, cli, media, music, music-player.
- [termusic](https://www.automicvault.com/zh-hans/pkg/brew/termusic/) - Both packages work with overlapping file formats or content types. Shared terms: audio, cli, media, music, music-player.
- [bandcamp-dl](https://www.automicvault.com/zh-hans/pkg/brew/bandcamp-dl/) - Both packages touch the same language runtime or ecosystem. Shared terms: audio, cli, media, music, python.

## Combined YAML source

View the package source record on GitHub. [combined/ccm.yml](https://github.com/automic-vault/db/blob/main/combined/ccm.yml)


## 来源

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