# 使用 Homebrew 安装 codanna

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

## 安装

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

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install codanna
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:codanna
- **软件包管理器:** Homebrew
- **版本:** 0.13.1
- **来源摘要:** Code intelligence system with semantic search
- **主页:** <https://docs.codanna.sh/>
- **仓库:** <https://github.com/bartolli/codanna>
- **最后更新:** 2026-08-03T03:18:39Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- codanna (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 0.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。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

## 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
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- cross-ecosystem install command graph
