首页 > AI前沿 > Pi coding agent: config folder is out of place on Linux

Pi coding agent: config folder is out of place on Linux

Hacker News 2026-08-17 17:11 1 阅读 查看原文
Uh oh! There was an error while loading. Please reload this page. Notifications You must be signed in to change notification settings Fork 11.4k Star 92.2k config folder is out of place on Linux #534 Description 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. Metadata Metadata Assignees Labels Type Projects Milestone Relationships Development Issue actions Open in GitHub Copilot app