Change the hardcoded $HOME/.codex path
Resolved 💬 6 comments Opened Sep 28, 2025 by qodeninja Closed Dec 31, 2025
What version of Codex is running?
codex-cli 0.41.0
Which model were you using?
latet 5
What platform is your computer?
linux
What steps can reproduce the bug?
Install codex. Use it.
Home directory is polluted with codex garbage.
What is the expected behavior?
Codex should respect XDG directories and be a good visitor on a host system and not pollute the $HOME directory with clutter.
What do you see instead?
Codex creating noise in my $HOME directory. Codex is not a first-class guest on my system and is not allowed to write where it wants to. It should respect User system and preferences and not be a bull in a china shop. Default paths should be user configurable, or use standard XDG/Linux directories like ~/.config ~/.local/ or */etc
Additional information
_No response_
This issue has 6 comments on GitHub. Read the full discussion on GitHub ↗