claude-code - 💡(How to fix) Fix [Feature Request] Add XDG Base Directory Specification support for Linux [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#54577Fetched 2026-04-30 06:41:51
View on GitHub
Comments
1
Participants
2
Timeline
4
Reactions
0
Author
Timeline (top)
labeled ×3commented ×1

Error Message

[{"error":"AxiosError: Request failed with status code 404\n at jU (/$bunfs/root/src/entrypoints/cli.js:110:1194)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:115:12736)\n at emit (node:events:92:22)\n at endReadableNT (internal:streams/readable:865:50)\n at processTicksAndRejections (native:7:39)\n at request (/$bunfs/root/src/entrypoints/cli.js:117:2467)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-29T07:50:14.033Z"}]

Code Example

[{"error":"AxiosError: Request failed with status code 404\n    at jU (/$bunfs/root/src/entrypoints/cli.js:110:1194)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:115:12736)\n    at emit (node:events:92:22)\n    at endReadableNT (internal:streams/readable:865:50)\n    at processTicksAndRejections (native:7:39)\n    at request (/$bunfs/root/src/entrypoints/cli.js:117:2467)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-29T07:50:14.033Z"}]
RAW_BUFFERClick to expand / collapse

Bug Description please support xdg compliance for linux. just droping config files into HOME/.claude creates clutter and is user hostile

Environment Info

  • Platform: linux
  • Terminal: konsole
  • Version: 2.1.112
  • Feedback ID: 35f0ea5a-9dd2-420f-90bd-a86736e60d9d

Errors

[{"error":"AxiosError: Request failed with status code 404\n    at jU (/$bunfs/root/src/entrypoints/cli.js:110:1194)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:115:12736)\n    at emit (node:events:92:22)\n    at endReadableNT (internal:streams/readable:865:50)\n    at processTicksAndRejections (native:7:39)\n    at request (/$bunfs/root/src/entrypoints/cli.js:117:2467)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-29T07:50:14.033Z"}]

extent analysis

TL;DR

Support for XDG compliance on Linux can be achieved by configuring the application to use the XDG_CONFIG_HOME environment variable for storing configuration files.

Guidance

  • The error message indicates a 404 status code, which may be related to the application's inability to find the configuration files in the expected location.
  • To support XDG compliance, the application should use the XDG_CONFIG_HOME environment variable to determine the location of the configuration files.
  • The configuration files should be stored in a directory within the XDG_CONFIG_HOME directory, such as $XDG_CONFIG_HOME/claude.
  • The application should be updated to respect the XDG_CONFIG_HOME environment variable and store configuration files in the correct location.

Example

No code snippet is provided as the issue does not contain sufficient information about the application's codebase.

Notes

The solution assumes that the application is using a configuration file-based approach and that the XDG_CONFIG_HOME environment variable is set on the user's system.

Recommendation

Apply workaround: The application should be updated to support XDG compliance by using the XDG_CONFIG_HOME environment variable to store configuration files in a user-friendly location.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING