# 使用 Homebrew 安装 codanna

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

## 安装

```sh
sudo av install brew:codanna
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install codanna
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:codanna
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/codanna>
- **版本:** 0.13.1
- **来源摘要:** Code intelligence system with semantic search
- **主页:** <https://docs.codanna.sh/>
- **仓库:** <https://github.com/bartolli/codanna>
- **上游文档:** <https://docs.codanna.sh/>
- **许可证:** Apache-2.0
- **源码归档:** <https://github.com/bartolli/codanna/archive/refs/tags/v0.13.1.tar.gz>
- **最后更新:** 2026-08-03T03:18:39Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- codanna (cli)
- codanna (别名)

## 依赖

- openssl@3

## 构建依赖

- pkgconf
- rust

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 0.13.1
- 管理器更新时间: 2026-08-03
- 本地数据: OK
- 上游仓库: https://github.com/bartolli/codanna
- 检测到的最新版本: v0.13.1 (当前)
## 项目历史与用法

Codanna is a Rust-based local code intelligence CLI and MCP server for AI coding agents. It indexes code, tracks relationships, and provides semantic search over code and documents.

### 项目历史

The official docs say Codanna came from a need for rapid research and pair-programming exploration where LSP servers were too slow for repeated questions. Its README positions it as code context for AI assistants, with structured symbol lookup, relationship tracing, and semantic search.

### 采用历史

Codanna is distributed through its own installer, Homebrew, Cargo, Nix, and GitHub releases. Its packaging matters because AI coding-agent users often need a small local binary that can be installed in developer shells and spawned as an MCP server.

### 使用方式

A typical workflow is to run codanna init, index a project, then query via CLI or MCP tools such as semantic_search_with_context. Configuration lives in .codanna/settings.toml, while embedding API keys are intentionally environment-only.

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

Codanna is part of the recent wave of package-manager-installed AI-agent support tools: local-first, Rust binary distribution, MCP integration, and semantic indexing without requiring a hosted code-search service.

### 时间线

- 2026: Official releases include prebuilt Linux, macOS, and Windows assets.
- 2026: v0.9.23 is documented as a resolver precision release with MCP and indexing changes.

### Related projects

- Language servers, ripgrep-style code search, vector embedding services, and MCP clients are adjacent tools in Codanna workflows.

### 来源

- <https://docs.codanna.sh/>
- <https://docs.codanna.sh/features/semantic-search>
- <https://docs.codanna.sh/installation>
- <https://docs.codanna.sh/reference/customization>
- <https://github.com/bartolli/codanna/releases>


## 安全说明

没有找到 codanna 的匹配本地密钥处理 manifest。软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。



## 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: .codanna/settings.toml
## 源数据库详情

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


## 相关链接

- [MCP tool packages](https://pkg.so/zh-hans/mcp-tools/) - Mentions MCP or Model Context Protocol.
- [AI and agent packages](https://pkg.so/zh-hans/ai-agent-tools/) - Matched AI model, agent, coding-agent, orchestration, or MCP metadata.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/zh-hans/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [openssl@3](https://pkg.so/zh-hans/brew/openssl-3/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://pkg.so/zh-hans/brew/pkgconf/) - Build dependency declared by Homebrew.
- [rust](https://pkg.so/zh-hans/brew/rust/) - Build dependency declared by Homebrew.
- [worktrunk](https://pkg.so/zh-hans/brew/worktrunk/) - Shares pkgdb curated category or tags: ai, ai-agents, cli, coding-agents.
- [skills](https://pkg.so/zh-hans/brew/skills/) - Shares pkgdb curated category or tags: ai, ai-agents, cli, coding-agents.
- [crit](https://pkg.so/zh-hans/brew/crit/) - Shares pkgdb curated category or tags: ai, ai-agents, cli, coding-agents.
- [ctx7](https://pkg.so/zh-hans/brew/ctx7/) - Shares pkgdb curated category or tags: ai, cli, coding-agents, mcp.
- [code2prompt](https://pkg.so/zh-hans/brew/code2prompt/) - Shares pkgdb curated category or tags: ai, cli, coding-agents, mcp.
- [claude-code-templates](https://pkg.so/zh-hans/brew/claude-code-templates/) - Shares pkgdb curated category or tags: ai, cli, coding-agents, mcp.
- [omnara](https://pkg.so/zh-hans/brew/omnara/) - Shares pkgdb curated category or tags: ai, ai-agents, cli, coding-agents.
- [openskills](https://pkg.so/zh-hans/brew/openskills/) - Shares pkgdb curated category or tags: ai, ai-agents, cli, coding-agents.
- [librefang](https://pkg.so/zh-hans/brew/librefang/) - Local package facts share a topical domain. Shared terms: agents, ai, ai-agents, cli, mcp.
- [yek](https://pkg.so/zh-hans/brew/yek/) - Local package facts share a topical domain. Shared terms: agents, ai, cli, coding, coding-agents.

## Combined YAML source

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


## 来源

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