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]: Support launching OpenCode directly with the Node.js runtime, similar to a standard Node.js backend application #10860
I have verified this feature I'm about to request hasn't been suggested before.
Describe the enhancement you want to request
I am the author of Issue #10799. After posting that issue, I looked into the relevant documentation and believe that Bun still has some compatibility issues regarding specific details.
Although Bun performs well in terms of performance, its stability in complex environments (especially during low-level shell interactions, memory-intensive operations, and edge cases on non-POSIX platforms) is not yet as mature as Node.js. Currently, the single-file packaging model forces a dependency on the Bun runtime, preventing users from avoiding such low-level crashes. From a deeper perspective, I personally believe that decoupling the OpenCode application itself from a specific runtime could be more beneficial for OpenCode.
I suggest introducing a "Native Node.js Runtime" mode for OpenCode as a complement or alternative to the existing Bun mode.
If this mode is already supported, I recommend clearly documenting the setup guide in the official documentation or README to facilitate developer usage. If it is not yet supported, I suggest adding it to the development roadmap to adapt to the Node.js environment, providing users with a more mature and controllable runtime option.
Reacted by Amirul Ashraf, Thomas Fitzsimmons, Moha, lulujs, Dima Ryskin, Lucas Parzianello, chenxuuu, Jay Madden, kkocdko and Arnaldo Capo
Activity
github-actions commentedon Jan 27, 2026
This issue might be a duplicate of existing issues. Please check:
Feel free to ignore if none of these address your specific case.