# 使用 Homebrew 安装 splitrail

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

## 安装

```sh
sudo av install brew:splitrail
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install splitrail
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:splitrail
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/splitrail>
- **版本:** 3.6.1
- **来源摘要:** Real-time token usage tracker and cost monitor for CLI coding agents
- **主页:** <https://splitrail.dev/>
- **仓库:** <https://github.com/Piebald-AI/splitrail>
- **上游文档:** <https://github.com/Piebald-AI/splitrail#readme>
- **许可证:** MIT
- **源码归档:** <https://github.com/Piebald-AI/splitrail/archive/refs/tags/v3.6.1.tar.gz>
- **最后更新:** 2026-07-22T19:42:09Z
- **已生成:** 2026-07-25T07:20:51+00:00

## 可执行文件

- splitrail (cli)
- splitrail (别名)

## 构建依赖

- rust

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-07-25
- 管理器版本: 3.6.1
- 管理器更新时间: 2026-07-22
- 本地数据: OK
- 上游仓库: https://github.com/Piebald-AI/splitrail
- 检测到的最新版本: v3.6.1 (当前)
## 项目历史与用法

Splitrail is a cross-platform CLI for aggregating token usage and estimated cost data from AI coding agents. It can present local statistics, upload them to Splitrail Cloud for cross-machine aggregation, and expose statistics through an MCP server.

### 项目历史

Piebald AI created the public repository in 2025 and published v1.0.0 in August of that year. The project subsequently broadened its analyzers across Claude Code, Codex CLI, Gemini CLI and Qwen Code, Cline-derived tools, GitHub Copilot, OpenCode, Pi Agent, and related coding-agent environments.

### 采用历史

Splitrail is distributed as release binaries and through Homebrew. Its optional cloud companion adds private account storage, cross-machine aggregation, and leaderboard features without replacing the local CLI workflow.

### 使用方式

Running `splitrail` reviews discovered coding-agent usage. `splitrail mcp` starts an MCP server with tools for daily statistics, model usage, costs, file operations, and comparisons; cloud upload is configured with an API token and upload preferences in `~/.splitrail.toml`.

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

Splitrail reflects the emergence of a new CLI observability niche around AI-assisted development: one local binary normalizes usage records from otherwise separate agent ecosystems and can expose the aggregate through MCP.

### 时间线

- 2025: Official repository created.
- 2025: v1.0.0 published.
- 2026: Splitrail documented broad multi-agent support, cloud aggregation, and an MCP server.

### Related projects

- Splitrail Cloud is the optional hosted companion for synchronization and aggregation.
- Piebald is the agentic developer product from the same team.

### 来源

- <https://github.com/Piebald-AI/splitrail#readme>
- <https://github.com/Piebald-AI/splitrail-cloud#readme>
- <https://github.com/Piebald-AI/splitrail/releases>
- source_facts.package-manager.brew


## 安全说明

没有找到 splitrail 的匹配本地密钥处理 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: ~/.splitrail.toml

## Credential files

- Unix: ~/.splitrail.toml
## 源数据库详情

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


## 相关链接

- [MCP tool packages](https://www.automicvault.com/zh-hans/pkg/mcp-tools/) - Mentions MCP or Model Context Protocol.
- [AI and agent packages](https://www.automicvault.com/zh-hans/pkg/ai-agent-tools/) - Matched AI model, agent, coding-agent, orchestration, or MCP metadata.
- [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.
- [rust](https://www.automicvault.com/zh-hans/pkg/brew/rust/) - Build dependency declared by Homebrew.
- [codeburn](https://www.automicvault.com/zh-hans/pkg/brew/codeburn/) - Shares av.db curated category or tags: ai, ai-coding, cli, coding-agents, token-usage.
- [ctx7](https://www.automicvault.com/zh-hans/pkg/brew/ctx7/) - Shares av.db curated category or tags: ai, ai-coding, cli, coding-agents, mcp.
- [ccusage](https://www.automicvault.com/zh-hans/pkg/brew/ccusage/) - Shares av.db curated category or tags: ai, cli, coding-agents, token-usage.
- [claude-code-templates](https://www.automicvault.com/zh-hans/pkg/brew/claude-code-templates/) - Shares av.db curated category or tags: ai, cli, coding-agents, mcp.
- [codanna](https://www.automicvault.com/zh-hans/pkg/brew/codanna/) - Shares av.db curated category or tags: ai, cli, coding-agents, mcp.
- [code2prompt](https://www.automicvault.com/zh-hans/pkg/brew/code2prompt/) - Shares av.db curated category or tags: ai, cli, coding-agents, mcp.
- [codex-acp](https://www.automicvault.com/zh-hans/pkg/brew/codex-acp/) - Shares av.db curated category or tags: ai, ai-coding, cli, coding-agents.
- [happy-coder](https://www.automicvault.com/zh-hans/pkg/brew/happy-coder/) - Shares av.db curated category or tags: ai, ai-coding, cli, coding-agents.

## Combined YAML source

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


## 来源

- Nucleus package database
- 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
