bunx @nutthead/cc-statusline installUse --overwrite to replace an existing installation.
Add to ~/.claude/settings.json:
{
"statusLine": {
"type": "command",
"command": "~/.claude/statusline"
}
}-
Create a directory for the custom theme:
mkdir ~/.config/cc-statusline -
Write a custom theme (e.g. in
~/.config/cc-statusline/theme.js)export default function theme(input) { if (input) { // parse input const json = JSON.parse(input); // construct status line const statusLine = "..."; // return status line return statusLine; } else { return ""; } }
-
Configure Claude Code
{ "statusLine": { "type": "command", "command": "~/.claude/statusline --theme ~/.config/cc-statusline/theme.js" } }
Execution logs are stored in ~/.local/state/statusline/app.log.
MIT