Skip to content

After using /exit to exit opencode and then using exit to exit the PowerShell terminal, the terminal gets stuck. #8395

Closed

Description

@79weiyi

Description

After using opencode /exit to exit, attempting to exit the PowerShell terminal with exit will cause it to hang.
Forcing the PowerShell window to close, or pressing Ctrl+C, and then reopening the terminal to run the opencode command will result in an error.
However, when I check the npm list, opencode still appears in the list.

Plugins

No response

OpenCode version

1.1.19

Steps to reproduce

  1. Install opencode using npm
  2. After opening opencode, use /exit to exit
  3. Use exit to close the PowerShell terminal
  4. Reopen a new PowerShell terminal and run opencode

Screenshot and/or share link

No response

Operating System

windows11

Terminal

powershell

Activity

  1. github-actions commented on Jan 14, 2026

    @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. thdxr commented on Mar 25, 2026

    @thdxr
    Member

    To stay organized issues are automatically closed after 90 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

bugSomething isn't workingwindows

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions