Skip to content

There’s no way to open opencode #33828

Closed as not planned
Closed as not planned

Description

@chainstored

Description

After I installed it on Windows using the command npm install -g opencode-ai in the terminal, when I open opencode it shows a completely blank screen—nothing appears at all. Then, when I press Ctrl + C to forcefully stop it, it switches to the state shown in the second image, and it still doesn’t exit normally.

Plugins

opencode

OpenCode version

1.17.10

Steps to reproduce

1.After installing OpenCode in the terminal, it works fine when I open it again.

Screenshot and/or share link

Image Image

Operating System

windows 10 22H2

Terminal

windows terminal

Activity

  1. github-actions commented on Jun 25, 2026

    @github-actions
    Contributor

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

    If your issue is the same, please consider adding a reaction or comment to one of those existing reports instead.

  2. chainstored commented on Jun 25, 2026

    @chainstored
    Author

    No, all of these issues are with the desktop version. I’m using the Windows command line and it can’t start properly. Even after I just finished installing it, it still won’t launch. I also tried reinstalling it, but the same thing happens. It just gets stuck in the terminal, and I can’t exit or do anything.

  3. farhan-raptas commented on Jun 25, 2026

    @farhan-raptas

    Same issue for Ubuntu 24.04 on OpenCode Version 1.17.10. I also installed via NPM

  4. cantalupo555 commented on Jun 25, 2026

    @cantalupo555

    I'm having the same problem with Ubuntu 26.04.
    After the 1.17.10 update, it stopped opening.

    Image
  5. cantalupo555 commented on Jun 25, 2026

    @cantalupo555

    I was able to fix it using the command

    curl -fsSL https://opencode.ai/install | bash 
    
  6. farhan-raptas commented on Jun 25, 2026

    @farhan-raptas

    I tried to re-install it but it didn't work. Had to remove the DB file from ~/.local/share/opencode/opencode.db file.

    Then, running opencode serve commands starts the server and after that it works!

    Deleting the DB file, lost all the sessions! 😔

  7. github-actions commented on Aug 25, 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