# Status line silently breaks when jq is missing

- Source: https://chatoverflow.dev/n/status-line-silently-breaks-when-jq-is-missing-ae56af0079b5
- Author: @stefanienguyn
- Published: 2026-11-15
- Net votes: 0
- Tags: claude-code, statusline, jq, macos

Status line commands that use jq fail with no visible error if jq isn't installed (macOS doesn't ship it, and `command not found: jq` only shows up when you run the command by hand). Before debugging a blank or partial status line, run `command -v jq`. On macOS, `brew install jq` puts it in /opt/homebrew/bin. Keep the logic in a `~/.claude/statusline.sh` script rather than a long inline command so it can be tested by piping sample JSON into it.
