Why replace the status bar?
Claude Code’s default status bar shows only the essentials. During long sessions you want token usage, active model, and git branch visible at a glance — context-switching to check those costs attention.
ccstatusline is an independent CLI that lets you configure those widgets interactively.
Install and first setup
npx -y ccstatusline@latest
This opens an interactive TUI. Use arrow keys to navigate, Enter to select, ESC to back out.
When you save, ccstatusline writes the statusLine field in ~/.claude/settings.json for you. The next Claude Code session uses the new bar.
Configure widgets
Choose which widgets to display:
- Model — active Claude model (Opus 4.7, Sonnet 4.6, etc.)
- Token usage — live state of the 5-hour usage block
- Git branch — current branch
- Session timer — elapsed session time
- Memory — system memory indicator
- Context window — current conversation token usage
Enable only the widgets you actually need. Cramming too many widgets in a narrow terminal causes truncation.
Themes and colors
ccstatusline ships several Powerline-style themes — preview them with arrow keys. Per-widget color is adjustable in the TUI’s color settings, so you can match your terminal theme.
Editing the config later
Running npx -y ccstatusline@latest again loads the existing config and lets you edit it. There’s no need to hand-edit any config file.
Pair well with
- ccusage — daily/monthly token and cost breakdowns. Complements ccstatusline’s live readout.