Description
When running codegraph install, the installation process ignores custom path configuration set via the CLAUDE_CONFIG_DIR and CODEX_HOME environment variables. The tool consistently falls back to installing and writing files directly to the user's home directory (~/).
Steps to Reproduce
- Set custom environment variables:
export CLAUDE_CONFIG_DIR="/custom/path/to/claude_config"
export CODEX_HOME="/custom/path/to/codex_home"
- Run the installation command:
- Check the target directories.
Expected Behavior
codegraph install should read and respect CLAUDE_CONFIG_DIR and CODEX_HOME to determine where to place configuration files and runtime artifacts.
Actual Behavior
The installation hardcodes or defaults to ~/ (e.g., ~/.claude or ~/.codex), completely ignoring the exported environment variables.
Environment
OS: Linux
Description
When running codegraph install, the installation process ignores custom path configuration set via the CLAUDE_CONFIG_DIR and CODEX_HOME environment variables. The tool consistently falls back to installing and writing files directly to the user's home directory (~/).
Steps to Reproduce
Expected Behavior
codegraph install should read and respect CLAUDE_CONFIG_DIR and CODEX_HOME to determine where to place configuration files and runtime artifacts.
Actual Behavior
The installation hardcodes or defaults to ~/ (e.g., ~/.claude or ~/.codex), completely ignoring the exported environment variables.
Environment
OS: Linux