Skip to content

Support for $CLAUDE_CONFIG_DIR #66

Description

@ciffelia

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"

Activity

  1. ryoppippi commented on Jun 13, 2025

    @ryoppippi
    Member

    It looks better approach.
    Send us a PR

  2. ryoppippi commented on Jun 15, 2025

    @ryoppippi
    Member

    @ciffelia do you know any official document mentioning on CLAUDE_CONFIG_DIR

  3. ciffelia commented on Jun 16, 2025

    @ciffelia
    Author
  4. ryoppippi commented on Jun 16, 2025

    @ryoppippi
    Member

    thankyou

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions