PREVIEW
Claude Code Statusline 安装指南
试读预览
macOS 自带 Python 3。Node.js 需手动安装。 macOS(使用 Homebrew): brew install node 或下载安装包: https://nodejs.org 验证: node --version npm --version ccusage 用于统计 Claude Code 历史累计花费。 npm install -g ccusage 验证: npx ccusage monthly --json 返回 JSON 数据则成功。 cat \/.claude/statusline << 'EOF' !/usr/bin/env python3 ===========…