[PR #5177] Use XDG_DATA_HOME for install directory #11279

Closed
opened 2026-02-16 18:16:05 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/5177

State: closed
Merged: No


Aligns install script with runtime XDG compliance.

Changes:

  • Install to $XDG_DATA_HOME/opencode/bin (defaults to ~/.local/share/opencode/bin)
  • Auto-migrate from ~/.opencode/bin on upgrade
  • Compatible with existing upgrade detection

Fixes #5176

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/5177 **State:** closed **Merged:** No --- Aligns install script with runtime XDG compliance. **Changes:** - Install to `$XDG_DATA_HOME/opencode/bin` (defaults to `~/.local/share/opencode/bin`) - Auto-migrate from `~/.opencode/bin` on upgrade - Compatible with existing upgrade detection Fixes #5176
yindo added the pull-request label 2026-02-16 18:16:05 -05:00
yindo closed this issue 2026-02-16 18:16:05 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#11279