Skip to content

opencode desktop 1.3.7 defaulting to PowerShell issue: #20007

Closed as not planned
Closed as not planned

Description

@qtalen

Description

My company has PowerShell disabled for security reasons. This wasn't really a problem in earlier versions of opencode, the terminal and shell commands all worked just fine.

But ever since upgrading to 1.3.7, the terminal won't open at all, and a lot of shell commands stopped working too. Hope the opencode team can look into fixing this.

Plugins

oh-my-opencode-slim

OpenCode version

1.3.7

Steps to reproduce

  1. Upgrade to version 1.3.7
  2. Try to open the terminal, nothing happens
  3. Ask the Orchestrator agent to do a git operation in the chat box, and it fails with an error

Screenshot and/or share link

No response

Operating System

Windows 11

Terminal

Windows Terminal, Git bash

Activity

  1. github-actions commented on Mar 30, 2026

    @github-actions
    Contributor

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

    If your issue is specifically about the upgrade to 1.3.7 introducing a regression (previously worked fine), it may still be worth keeping open as a separate regression report. Please review the above issues and comment if yours is distinct.

  2. Hona commented on Mar 30, 2026

    @Hona
    Member

    set an env var if you want git bash again, e.g.

    SHELL=C:\Program Files\Git\bin\bash.exe

  3. Hona commented on Mar 30, 2026

    @Hona
    Member

    For desktop specifically I might add a options UI for this

  4. removed
    bugSomething isn't working
    webRelates to opencode on web / desktop
    on May 3, 2026
  5. Mart-Bogdan commented on May 17, 2026

    @Mart-Bogdan

    For me powerhsell is not disabled but that's disapinting.

    I wnat my workflow to be unform around different OSes.

    Also bash scripts look more compact and easy to review before execution. it integrates well with git etc.

    Hwing PowerShell is a good bonus, but fact that it has repalced bash is really a bumer.

    Powershell should be additional tool, but it should not relace bash, especcialy using name Bash.

  6. Mart-Bogdan commented on May 17, 2026

    @Mart-Bogdan

    For example this is cvlaude code:

    Image

    and this is OpenCode:

    Image
  7. Mart-Bogdan commented on May 17, 2026

    @Mart-Bogdan

    As well as permissions etc and hook can be tied to bash. so they could be reused across OSes.

  8. github-actions commented on Jul 17, 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