Install and configure moo-statusline for Claude Code
Installs moo-statusline to display project, git branch, model, context usage, and rate limits in Claude Code. Use this to enhance your terminal UI with a comprehensive status bar.
/plugin marketplace add moogento/moo-statusline/plugin install moogento-moo-statusline@moogento/moo-statuslineSet up the moo-statusline for Claude Code. Follow these steps:
Verify jq is installed:
which jq
If not found, tell the user to install it with brew install jq (macOS) or their package manager.
Find the statusline.sh file in this plugin's directory using Glob to search for **/moo-statusline/statusline.sh or similar patterns. Then copy it to ~/.claude/statusline.sh:
cp <path-to-statusline.sh> ~/.claude/statusline.sh
chmod +x ~/.claude/statusline.sh
Read ~/.claude/settings.json if it exists. Add or update the statusLine configuration:
{
"statusLine": {
"type": "command",
"command": "bash ~/.claude/statusline.sh"
}
}
If the file doesn't exist, create it with the above content. If it exists, merge the statusLine key while preserving other settings.
Confirm the setup:
ls -la ~/.claude/statusline.sh
cat ~/.claude/settings.json | jq .statusLine
Tell the user: