Skip to content

[BUG] Config and Data directories follow the Linux XDG standard even on windows #8235

Closed

Description

@yousshim

Description

The paths for the config/data/cache directory is provided by the "xdg-basedir" which does not respect the convention on windows (and mac os, but I can't test it). In the readme of "xdg-basedir" they recommend using "env-paths" for other platforms.

Plugins

No response

OpenCode version

No response

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

Activity

  1. github-actions commented on Jan 13, 2026

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

    These issues discuss similar concerns about directory paths, XDG standards compliance, and platform-specific directory handling on Windows. Feel free to ignore if your specific case is distinct from these.

  2. thdxr commented on Mar 25, 2026

    @thdxr
    Member

    To stay organized issues are automatically closed after 90 days of no activity. If the issue is still relevant please open a new one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingwindows

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions