You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Feature Request: Respect OPENCODE_INSTALL_DIR, XDG_BIN_DIR, $HOME/bin, and Fallback for Installation Path #1124
The current OpenCode install script always installs the binary to $HOME/.opencode/bin, which does not respect common standards or user preferences for binary locations. Many modern Linux distributions and user environments prefer XDG-compliant directories or custom bin paths.
Request:
Enhance the installation script to support the following priority order for the installation path:
Use $OPENCODE_INSTALL_DIR if set
Else use $XDG_BIN_DIR if set
Else use $HOME/bin if it exists (or can be created)
Activity
thdxr commentedon Jul 18, 2025
hey opencode fix this - be sure to adhere to style guide
opencode-agent commentedon Jul 18, 2025
opencode created pull request #1129
view session | view log
rimmer commentedon Nov 11, 2025
It has been rolled back here c87a746