Claude Code uses the $CLAUDE_CONFIG_DIR environment variable to specify the path to the .claude directory, though this seems to be an undocumented feature. It would be convenient if ccusage could automatically recognize and utilize this variable.
Currently, I have to manually specify the path like this:
pnpx [email protected] --path "$CLAUDE_CONFIG_DIR"
Claude Code uses the
$CLAUDE_CONFIG_DIRenvironment variable to specify the path to the.claudedirectory, though this seems to be an undocumented feature. It would be convenient ifccusagecould automatically recognize and utilize this variable.Currently, I have to manually specify the path like this: