Skip to content

Opencode Desktop command not found errors #15758

Closed as not planned
Closed as not planned

Description

@Lermatroid

Description

Opencode is repeatedly unable to find installed commands on my mac such as npm, bun, ripgrep, etc.

My system is using fnm to manage node versions, but bun is just installed via their script and also does not work. This is not the case within my terminal.

Plugins

None

OpenCode version

1.2.15

Steps to reproduce

  1. Install opencode desktop on mac
  2. Open it
  3. Ask it to run a node / npm / bun command of some kind

Interestingly, this can be fixed by running the app from the terminal with open -a opencode.app. I have no idea why. I learned this from here.

Other interesting side effects of this include MCPs just not loading unless the app is opened via that open command.

On my system I am using zsh + oh my zsh. Nothing fancy beyond that.

Happy to provide any additional info needed!

Screenshot and/or share link

Repro:

https://opncd.ai/share/tob6mAWK
https://fs.liam.so/s/SCR-20260302-lcw.png

Others running into the same issue:

https://discord.com/channels/1391832426048651334/1435327295953961133/1475174917258477722
https://discord.com/channels/1391832426048651334/1391832428024430645/1423597769850884136

Operating System

Macos Tahoe 26.2

Terminal

Ghostty

Activity

  1. github-actions commented on Mar 2, 2026

    @github-actions
    Contributor

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

  2. Lermatroid commented on Mar 2, 2026

    @Lermatroid
    Author

    Not sure if its related, but I am also running into the issue outlined here where opencode desktop is constantly asking for permission to random things like other apps' data, apple music, photos, etc.

    #14982

  3. nexxeln commented on Mar 3, 2026

    @nexxeln
    Contributor

    This is a known issue and is being actively worked on. It will be fixed in the coming releases

  4. Lermatroid commented on Mar 4, 2026

    @Lermatroid
    Author

    Great to hear, still seems to be happening after updating to v1.2.16.

  5. Chathula commented on Apr 21, 2026

    @Chathula

    Still same issue.

  6. removed
    bugSomething isn't working
    webRelates to opencode on web / desktop
    on May 3, 2026
  7. mdaffailhami commented on May 9, 2026

    @mdaffailhami

    Having this issue too today

  8. github-actions commented on Jul 9, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.

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