Skip to content

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

Closed

Description

@jflaflamme

Scary stuff with last auto update.

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```

Activity

  1. github-actions commented on Sep 17, 2025

    @github-actions
    Contributor

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

    Feel free to ignore if none of these address your specific case.

  2. JensDeClercq1 commented on Sep 17, 2025

    @JensDeClercq1

    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.

  3. Jarred-Sumner commented on Sep 17, 2025

    @Jarred-Sumner

    Is the opencode binary named "bun" in the filename? That is usually how this could happen

  4. rekram1-node commented on Sep 17, 2025

    @rekram1-node
    Contributor

    @jflaflamme are you using Nix by chance

  5. jflaflamme commented on Sep 18, 2025

    @jflaflamme
    Author

    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.

  6. rekram1-node commented on Dec 28, 2025

    @rekram1-node
    Contributor

    [automated] Closing due to 90+ days of inactivity. Feel free to reopen if you still need this!

  7. HRK777 commented on Feb 25, 2026

    @HRK777

    This issue is still not solved. Had this today in Ubuntu 24.04 inside WSL

  8. marcomarsala commented on Mar 2, 2026

    @marcomarsala

    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

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions