Installation
Requires Node.js 18+, Claude Code, and Git 2.0+. For best display, install a Nerd Font or use --charset=text for ASCII-only symbols.
Setup Wizard (Recommended)
The interactive wizard walks you through theme, style, font, segment, and budget selection.
# run inside Claude Code, one at a time
/plugin marketplace add Owloops/claude-powerline
/plugin install claude-powerline@claude-powerline
/powerline
The wizard writes ~/.claude/claude-powerline.json and updates your settings.json automatically. Run /powerline again any time to reconfigure.
Manual Setup
Add to your Claude Code settings.json:
{
"statusLine": {
"type": "command",
"command": "npx -y @owloops/claude-powerline@latest --style=powerline"
}
}
Start a Claude session and the statusline appears at the bottom. Using npx automatically downloads and runs the latest version without manual updates.
If you have Bun, bunx --bun @owloops/claude-powerline --style=powerline is a faster alternative. Keep the --bun flag, without it bunx runs the package with Node.
Powerline Studio
powerline.owloops.com is a visual configurator for claude-powerline. Click segments in the preview to toggle options, switch styles and themes live, reorder, then copy or download the JSON into ~/.claude/claude-powerline.json. Paste an existing config to edit it.
Styles
Themes
6 built-in themes (dark, light, nord, tokyo-night, rose-pine, gruvbox) or create your own.
Configuration
Config locations (in priority order):
./.claude-powerline.json - Project-specific
~/.claude/claude-powerline.json - User config
~/.config/claude-powerline/config.json - XDG standard
Override priority: CLI flags > Environment variables > Config files > Defaults
Config files reload automatically, no restart needed.
Get example config:
curl -o ~/.claude/claude-powerline.json https://raw.githubusercontent.com/Owloops/claude-powerline/main/.claude-powerline.json
CLI Options and Environment Variables
CLI Options (both --arg value and --arg=value syntax supported):
--theme - dark (default), light, nord, tokyo-night, rose-pine, gruvbox, custom
--style - minimal (default), powerline, capsule, tui
--charset - unicode (default), text
--config - Custom config file path
--help - Show help
Examples:
claude-powerline --theme=nord --style=powerline
claude-powerline --theme=dark --style=capsule --charset=text
claude-powerline --config=/path/to/config.json
Environment Variables:
export CLAUDE_POWERLINE_THEME=dark
export CLAUDE_POWERLINE_STYLE=powerline
export CLAUDE_POWERLINE_CONFIG=/path/to/config.json
export CLAUDE_POWERLINE_DEBUG=1 # Enable debug logging
export CLAUDE_POWERLINE_CACHE_DIR=/path/to/cache # Usage cache location (default: ~/.claude/powerline)
Segment Configuration
Directory - Shows current working directory name
"directory": {
"enabled": true,
"style": "full"
}
Options: