config folder is out of place on Linux · Issue #534 · earendil-works/pi · GitHub
//voltron/issues_fragments/issue_layout" data-turbo-transient="true" />
Skip to content
Search/
Sign in<br>Sign upAppearance settings
You signed in with another tab or window. Reload to refresh your session.<br>You signed out in another tab or window. Reload to refresh your session.<br>You switched accounts on another tab or window. Reload to refresh your session.
Dismiss alert
{{ message }}
Uh oh!
There was an error while loading. Please reload this page.
earendil-works
pi
Public
Notifications<br>You must be signed in to change notification settings
Fork<br>11.4k
Star<br>92k
config folder is out of place on Linux #534
New issue<br>Copy link
New issue<br>Copy link
Closed
Closed<br>config folder is out of place on Linux#534
Copy link
Description
Ramblurr<br>opened on Jan 7, 2026
Issue body actions
Hi there!
(thank you for the great work and articles on coding agents, very inspiring)
I'm using pi on Linux, and noticed that the config folder is located directly within the user's $HOME directory.
On Linux, modern tools should follow the XDG Base Directory Spec to avoid cluttering the home root.
The TL;DR of that spec is basically:
To generate the config directory prefix, check for PI_CONFIG_DIR first, then XDG_CONFIG_HOME. If neither is set, use the OS default:
Windows: %APPDATA%
macOS: $HOME
Linux/BSD: $HOME/.config
The full config directory path would then be /pi.
Reactions are currently unavailable
Metadata<br>Metadata<br>Assignees
No one assigned
Labels
No labelsNo labels
Type
No type
Projects
No projects
Milestone
No milestone
Relationships
None yet
Development
No branches or pull requests
Issue actions<br>Open in GitHub Copilot app
You can’t perform that action at this time.