You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
Activity
ryoppippi commentedon Jun 13, 2025
It looks better approach.
Send us a PR
ryoppippi commentedon Jun 15, 2025
@ciffelia do you know any official document mentioning on
CLAUDE_CONFIG_DIRciffelia commentedon Jun 16, 2025
No official document, but this feature is mentioned in anthropics/claude-code#261 (comment) and anthropics/claude-code#264 (comment).
It is also used in their reference dev container setup.
https://github.com/anthropics/claude-code/blob/b6f507833db3bc29eef739657453c32c4687b188/.devcontainer/devcontainer.json#L46
ryoppippi commentedon Jun 16, 2025
thankyou