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
Latest 0.9.9 opencode bin shows bun command (Bun is a fast JavaScript runtime, package manager, bundler, and test runner. (1.2.21+7c45ed97d)) #2643
Bun is a fast JavaScript runtime, package manager, bundler, and test runner. (1.2.21+7c45ed97d)
Usage: bun <command> [...flags] [...args]
Commands:
run ./my-script.ts Execute a file with Bun
lint Run a package.json script
test Run unit tests with Bun
x nuxi Execute a package binary (CLI), installing if needed (bunx)
repl Start a REPL session with Bun
exec Run a shell script directly with Bun
install Install dependencies for a package.json (bun i)
add @remix-run/dev Add a dependency to package.json (bun a)
remove backbone Remove a dependency from package.json (bun rm)
update @evan/duckdb Update outdated dependencies
audit Check installed packages for vulnerabilities
outdated Display latest versions of outdated dependencies
link [<package>] Register or link a local npm package
unlink Unregister a local npm package
publish Publish a package to the npm registry
patch <pkg> Prepare a package for patching
pm <subcommand> Additional package management utilities
info @zarfjs/zarf Display package metadata from the registry
build ./a.ts ./b.jsx Bundle TypeScript & JavaScript into a single file
init Start an empty Bun project from a built-in template
create svelte Create a new project from a template (bun c)
upgrade Upgrade to latest version of Bun.
<command> --help Print help text for command.
Learn more about Bun: https://bun.com/docs
Join our Discord community: https://bun.com/discord```
Had this same issue when running on docker image node:24-alpine, seems to be working fine on node:24-slim.
Both npm install and bun install would point to bun.
I am using ubuntu 24.04, had the downloaded opencode (running for a few weeks and using daily), with auto update on (lot of updates ..).
So 20 minutes after the release, I re-opened opencode and asked me to restart to apply latest update, and I had this error.
I re-download the preview release and turned auto update off.
Check you have glibc >= 2.25. If not, compile a local copy (update_gclib.sh) and set opencode to use it with: patchelf --set-interpreter "/opt/glibc-2.25/lib/ld-2.25.so" /root/.opencode/bin/opencode
Activity
github-actions commentedon Sep 17, 2025
This issue might be a duplicate of existing issues. Please check:
--helpprinting the bun help text #2527: Similar issue whereopencode --helpwas printing bun help text instead of opencode helpFeel free to ignore if none of these address your specific case.
JensDeClercq1 commentedon Sep 17, 2025
Had this same issue when running on docker image node:24-alpine, seems to be working fine on node:24-slim.
Both npm install and bun install would point to bun.
Jarred-Sumner commentedon Sep 17, 2025
Is the opencode binary named "bun" in the filename? That is usually how this could happen
rekram1-node commentedon Sep 17, 2025
@jflaflamme are you using Nix by chance
jflaflamme commentedon Sep 18, 2025
I am using ubuntu 24.04, had the downloaded opencode (running for a few weeks and using daily), with auto update on (lot of updates ..).
So 20 minutes after the release, I re-opened opencode and asked me to restart to apply latest update, and I had this error.
I re-download the preview release and turned auto update off.
Hope this helps.
rekram1-node commentedon Dec 28, 2025
[automated] Closing due to 90+ days of inactivity. Feel free to reopen if you still need this!
HRK777 commentedon Feb 25, 2026
This issue is still not solved. Had this today in Ubuntu 24.04 inside WSL
marcomarsala commentedon Mar 2, 2026
Check you have glibc >= 2.25. If not, compile a local copy (update_gclib.sh) and set opencode to use it with:
patchelf --set-interpreter "/opt/glibc-2.25/lib/ld-2.25.so" /root/.opencode/bin/opencode