Claude Code status line
cc-statusline
Generates an informative status line script for Claude Code through an interactive setup.
Install
npx @chongdashu/cc-statusline@latest initgit clone https://github.com/chongdashu/cc-statusline.gitFrom the README
cc-statusline A beautiful, informative statusline for Claude Code *Real-time directory, git branch, model info, costs, and session time tracking* ā” Quick Start One command. Three questions. Custom statusline. That's it! Answer a few simple questions, restart Claude Code, and enjoy your new statusline. š Prerequisites Required - Node.js 16+ - Required for the CLI tool - Claude Code - The tool you're already using Strongly Recommended - jq - JSON processor for advanced features (see installation guide below) - Required for: context tracking, token stats, session timer - Without jq: basic features still work with fallback parser Without jq, your statusline will have LIMITED functionality: - ā No context remaining percentage - ā No token statistics from ccusage - ā No session timer - ā ļø Basic fallback parser is used (less reliable) macOS Linux Windows 10/11 Option 1: Package Manager (Recommended) Option 2: Manual Download 1. Go to https://github.com/jqlang/jq/releases/latest 2. Download: - 64-bit: jq-windows-amd64.exe - 32-bit: jq-windows-i386.exe 3. Rename to jq.exe 4. Place in C:\Windows\System32\ (requires admin) or add to PATH 5. Test: jq --version Verify Installation Optional - git - For branch display (you probably have this) - ccusage - For usage stats (works via npx - no install needed) šÆ Simple Setup ⨠What You Get Enhance your Claude Code terminal with useful information: - š Directory Display - Current folder with ~ abbreviation - šæ Git Integration - Current branch name - š¤ Model Info - Shows which Claude model you're using plus Claude Code version - š§ Context Usage - Real-time context window usage with progress bars (requires jq) - š° Cost Tracking - Live cost monitoring with burn rates via ccusage (partial without jq) - āā¦
How status lines work
- A status line is a command Claude Code runs to draw the bar under the prompt. It gets the session as JSON on stdin (model, folder, cost, context) and prints one or more lines.
- Point the statusLine setting in ~/.claude/settings.json at it: { "statusLine": { "type": "command", "command": "<the command from the README>" } }.
- Or run /statusline inside Claude Code and describe what you want.
Details
- Repository
- chongdashu/cc-statusline
- Type
- Status lines
- Language
- TypeScript
- License
- MIT
- Last updated
- 16 February 2026
- Listed in
- jqueryscript/awesome-claude-code
FAQ
What is cc-statusline?
Generates an informative status line script for Claude Code through an interactive setup. It is a status line for Claude Code, from chongdashu/cc-statusline on GitHub.
How do I install cc-statusline?
Run npx @chongdashu/cc-statusline@latest init, then follow the setup in the README.
Is cc-statusline popular?
chongdashu/cc-statusline has 645 GitHub stars and 62 forks, and is included in 1 curated Claude Code list. It was last updated on 16 February 2026.
More status lines
claude-statusline
1.4knilbuild/claude-statusline
A minimal personal status line setup for Claude Code.
claude-dashboard
586uppinote20/claude-dashboard
A status line plugin showing context usage, API rate limits and session cost.
claude-powerline
1.2kOwloops/claude-powerline
A vim-style powerline status line with usage tracking, git integration and custom themes.
best-claude-hud
995GaoSSR/best-claude-hud
A minimal Rust-powered status line HUD for Claude Code.
CCometixLine
3.5kHaleclipse/CCometixLine
A fast status line for Claude Code written in Rust, with git info, model and usage segments and a TUI configurator.
claude-statusbar
388leeguooooo/claude-code-usage-bar
A one-line status line showing 5-hour and 7-day rate-limit usage, reset countdowns, model and context, with several styles and themes.
Browse the most popular Claude Code mods, all status lines, or the skills and MCP server directories.