# 使用 Homebrew 安装 splitrail

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

## 安装

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

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install splitrail
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:splitrail
- **软件包管理器:** Homebrew
- **版本:** 3.7.0
- **来源摘要:** Real-time token usage tracker and cost monitor for CLI coding agents
- **主页:** <https://splitrail.dev/>
- **仓库:** <https://github.com/Piebald-AI/splitrail>
- **最后更新:** 2026-08-02T00:47:35Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- splitrail (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 3.7.0
## 项目历史与用法

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

## Combined YAML source

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


## 来源

- pkg.so package database
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- cross-ecosystem install command graph
