Skip to content

ccusage not working without .claude dir #1014

@dayvough

Description

@dayvough

What happened?

Now that we have ccusage not singly related to claude code, when I run bunx ccusage on a Mac without Claude installed, it still asks for a .claude directory.

error: No valid Claude data directories found. Please ensure at least one of the following exists:
- /Users/dayvough/.config/claude/projects
- /Users/dayvough/.claude/projects
- Or set CLAUDE_CONFIG_DIR environment variable to valid directory path(s) containing a 'projects' subdirectory

Steps to reproduce

bunx ccusage

Expected behavior

No response

Version

19.0.2

Metadata

Metadata

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions