Skip to content

Only one opencode CLI instance available #13053

Closed

Description

@caibingcheng

Description

Start two opencode CLI will failed.

Plugins

omoc,auth

OpenCode version

1.1.56

Steps to reproduce

  1. start a terminal session
  2. start a opencode cli at that session
  3. start another terminal session
  4. start another opencode cli at that session

Screenshot and/or share link

The second instance can not start normally. Just wait here.

Image

Operating System

Ubuntu 20.04

Terminal

gnome terminal

Activity

  1. github-actions commented on Feb 11, 2026

    @github-actions
    Contributor

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

    These issues describe the same core problem of multiple OpenCode instances conflicting with each other and propose various solutions. Please review them to see if your use case is already addressed.

  2. tanaka-mambinge commented on Feb 12, 2026

    @tanaka-mambinge

    Also facing a similar issue. I guess starting one server and attaching terminals is the way to go for now.

    Start headless server: opencode serve --hostname 0.0.0.0 --port 4096
    Attach tui: opencode attach http://localhost:4096 --dir /path/to/project. Important to specify the dir so that you can access/continue sessions from that folder

  3. gerwim commented on Feb 17, 2026

    @gerwim

    Same issue on my Debian VM. Windows works fine... 🤔

  4. gerwim commented on Feb 18, 2026

    @gerwim

    I have installed it through homebrew on Linux and the issue has gone away. Both NPM (through nvm) and homebrew were on 1.2.6.

  5. caibingcheng commented on Feb 25, 2026

    @caibingcheng
    Author

    works well at 1.2.13

  6. eimerreis commented on Mar 6, 2026

    @eimerreis

    Happens to me with version 1.2.15. Attaching works, but I guess this should just be the workaround

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions