# 使用 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.9.23
- **来源摘要:** 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.9.23.tar.gz>
- **最后更新:** 2026-07-04T03:25:52Z
- **已生成:** 2026-07-08T07:18:31+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-07-08
- 管理器版本: 0.9.23
- 管理器更新时间: 2026-07-04
- 本地数据: OK
- 上游仓库: https://github.com/bartolli/codanna
- 检测到的最新版本: v0.9.23 (当前)
## 项目历史与用法

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。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 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://www.automicvault.com/zh-hans/pkg/mcp-tools/) - Mentions MCP or Model Context Protocol.
- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/zh-hans/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/zh-hans/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [openssl@3](https://www.automicvault.com/zh-hans/pkg/brew/openssl-3/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://www.automicvault.com/zh-hans/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [rust](https://www.automicvault.com/zh-hans/pkg/brew/rust/) - Build dependency declared by Homebrew.
- [ctags-lsp](https://www.automicvault.com/zh-hans/pkg/brew/ctags-lsp/) - Shares av.db curated category or tags: cli, code-intelligence, developer-tools.
- [gbox](https://www.automicvault.com/zh-hans/pkg/brew/gbox/) - Shares av.db curated category or tags: ai-agents, cli, developer-tools, mcp.
- [nanobot](https://www.automicvault.com/zh-hans/pkg/brew/nanobot/) - Shares av.db curated category or tags: ai-agents, cli, developer-tools, mcp.
- [notion-mcp-server](https://www.automicvault.com/zh-hans/pkg/brew/notion-mcp-server/) - Shares av.db curated category or tags: ai-agents, cli, developer-tools, mcp.
- [ralph-orchestrator](https://www.automicvault.com/zh-hans/pkg/brew/ralph-orchestrator/) - Shares av.db curated category or tags: ai-agents, cli, developer-tools, mcp.
- [strands-agents-sops](https://www.automicvault.com/zh-hans/pkg/brew/strands-agents-sops/) - Shares av.db curated category or tags: ai-agents, cli, developer-tools, mcp.
- [agent-browser](https://www.automicvault.com/zh-hans/pkg/brew/agent-browser/) - Shares av.db curated category or tags: ai-agents, cli, developer-tools.
- [airtable-mcp-server](https://www.automicvault.com/zh-hans/pkg/brew/airtable-mcp-server/) - Shares av.db curated category or tags: cli, developer-tools, mcp.
- [aoe](https://www.automicvault.com/zh-hans/pkg/brew/aoe/) - Local package facts share a topical domain. Shared terms: agents, ai-agents, cli, developer, developer-tools.
- [code2prompt](https://www.automicvault.com/zh-hans/pkg/brew/code2prompt/) - Local package facts share a topical domain. Shared terms: cli, code, developer, developer-tools, mcp.

## Combined YAML source

View the package source record on GitHub. [combined/codanna.yml](https://github.com/automic-vault/db/blob/main/combined/codanna.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
- cross-ecosystem install command graph
