Skip to content

feat: Allow Gemini config directory to be configurable via environment variable #2815

@marcoSven

Description

@marcoSven

What would you like to be added?

Add GEMINI_CONFIG_DIR environment variable to specify a custom path for the .gemini config directory.

Why is this needed?

Currently, the Gemini CLI hardcodes the configuration directory to .gemini within the user's home directory. This limits flexibility for users who may wish to store configuration files in a different location.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/coreIssues related to User Interface, OS Support, Core Functionalitypriority/p2Important but can be addressed in a future release.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions