使用 Claude Code 時,是否曾突然達到用量上限而措手不及?Claude Code Usage Monitor 能即時監控你的 token 消耗和費用,讓你提前掌握使用狀況。
快速安裝 Link to heading
推薦使用 uv 安裝:
uv tool install claude-monitor
如果還沒安裝 uv,先執行:
# Linux/macOS
curl -LsSf https://astral.sh/uv/install.sh | sh
# Windows
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
安裝後請重新開啟終端機。
使用方式 Link to heading
# 啟動監控
claude-monitor
# 短指令
ccm
指定訂閱方案:
claude-monitor --plan pro # Pro 方案
claude-monitor --plan max5 # Max5 方案
claude-monitor --plan max20 # Max20 方案