# toktop を Homebrew でインストール

toktop のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:toktop
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install toktop
```

  証拠: local Homebrew formula metadata

## パッケージ情報

- **パッケージキー:** brew:toktop
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/toktop>
- **バージョン:** 0.1.5
- **ソース概要:** LLM usage monitor in terminal
- **ホームページ:** <https://github.com/htin1/toktop>
- **リポジトリ:** <https://github.com/htin1/toktop>
- **ライセンス:** MIT
- **ソースアーカイブ:** <https://github.com/htin1/toktop/archive/refs/tags/v0.1.5.tar.gz>
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

- toktop (cli)
- toktop (エイリアス)

## ビルド依存関係

- pkgconf
- rust

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 0.1.5
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/htin1/toktop
- 検出された最新: v0.1.5 (最新)
- 情報: No package-manager update timestamp was available.
## プロジェクトの歴史と使われ方

toktop is a small terminal dashboard for monitoring OpenAI and Anthropic token usage and costs. Its own README frames it as "htop but for llm tokens", placing it in the recent wave of developer tools that turn cloud AI spend into a live terminal workflow.

### プロジェクトの歴史

The official repository is a compact Rust project with a README, Cargo metadata, and a short changelog. The changelog records early 0.1.x releases in November and December 2025, with work focused on cost API fixes, chart rendering, filtering, grouping by model or API key, and richer usage summaries.

### 採用の歴史

Available history is limited to the official project repository and package metadata. Homebrew carries the tool as `toktop`, and the upstream README documents `cargo install toktop --locked`, so adoption appears centered on Rust/Cargo and Homebrew users who want terminal-native LLM account monitoring.

### 使われ方

The README documents running `toktop` after setting `OPENAI_ADMIN_KEY` and `ANTHROPIC_ADMIN_KEY`, passing an env file with `toktop -e .env`, or letting the program prompt for API keys. In package-manager terms, it is a single executable meant to sit beside other terminal observability tools.

### パッケージ好きにとっての重要性

For package nerds, toktop is interesting less as infrastructure history and more as a marker of a new CLI niche: local, terminal-first accounting for metered LLM APIs. Its packaging surface is intentionally small: one binary, MIT license, Cargo install path, and a Homebrew formula.

### タイムライン

- 2025: Changelog records early 0.1.x releases focused on LLM usage and cost dashboard behavior.
- Current: README documents OpenAI and Anthropic admin-key based terminal monitoring.

### Related projects

- The README explicitly compares the experience to htop and notes that it is built with Ratatui, aligning it with terminal UI observability tools.

### ソース

- <https://github.com/htin1/toktop#readme>
- <https://raw.githubusercontent.com/htin1/toktop/main/CHANGELOG.md>
- source_facts.description
- source_facts.package-manager


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- narrow executable package without higher-risk signals

## ソースデータベース詳細

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** toktop
- **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


## 関連リンク

- [Source-control packages](https://pkg.so/ja/source-control-tools/) - Belongs to a source-control command family.
- [MCP tool packages](https://pkg.so/ja/mcp-tools/) - Mentions MCP or Model Context Protocol.
- [AI and agent packages](https://pkg.so/ja/ai-agent-tools/) - Matched AI model, agent, coding-agent, orchestration, or MCP metadata.
- [Terminal utility packages](https://pkg.so/ja/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [pkgconf](https://pkg.so/ja/brew/pkgconf/) - Build dependency declared by Homebrew.
- [rust](https://pkg.so/ja/brew/rust/) - Build dependency declared by Homebrew.
- [cai](https://pkg.so/ja/brew/cai/) - Shares pkgdb curated category or tags: ai, anthropic, cli, llm, model-tools.
- [llmfit](https://pkg.so/ja/brew/llmfit/) - Shares pkgdb curated category or tags: ai, cli, llm, model-tools, tui.
- [tenere](https://pkg.so/ja/brew/tenere/) - Shares pkgdb curated category or tags: ai, cli, llm, model-tools, tui.
- [ollama](https://pkg.so/ja/brew/ollama/) - Shares pkgdb curated category or tags: ai, cli, llm, model-tools.
- [ramalama](https://pkg.so/ja/brew/ramalama/) - Shares pkgdb curated category or tags: ai, cli, llm, model-tools.
- [promptfoo](https://pkg.so/ja/brew/promptfoo/) - Shares pkgdb curated category or tags: ai, cli, llm, model-tools.
- [localai](https://pkg.so/ja/brew/localai/) - Shares pkgdb curated category or tags: ai, cli, llm, model-tools.
- [oterm](https://pkg.so/ja/brew/oterm/) - Shares pkgdb curated category or tags: ai, cli, llm, model-tools.

## Combined YAML source

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


## ソース

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