Skip to content

opencode安装成功,但启动不了。 #7662

Closed

Description

@linrb

Question

我在windows11系统上,用scoop 安装成功了,但用命令启动不了,是为什么呢?
版本 Windows 11 专业版
版本号 25H2
操作系统版本 26200.7462
体验 Windows 功能体验包 1000.26100.275.0

Image

Activity

  1. github-actions commented on Jan 10, 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. rekram1-node commented on Jan 11, 2026

    @rekram1-node
    Collaborator

    English plz?

  3. linrb commented on Jan 11, 2026

    @linrb
    Author

    English plz?

    My English is not good. I installed it successfully on my Windows 11 system using Scoop, but I can't launch it by typing the command 'opencode' in the terminal. What could be the reason?

    Version: Windows 11 Pro
    Version: 25H2
    OS Build: 26200.7462
    Experience: Windows Feature Experience Pack 1000.26100.275.0

  4. rekram1-node commented on Jan 11, 2026

    @rekram1-node
    Collaborator

    @linrb do u have a network proxy setup? If so refer to this: https://opencode.ai/docs/network/

    Maybe try launching w/ opencode run hello --print-logs see what happens?

  5. linrb commented on Jan 11, 2026

    @linrb
    Author

    @linrb do u have a network proxy setup? If so refer to this: https://opencode.ai/docs/network/

    Maybe try launching w/ opencode run hello --print-logs see what happens?
    No network proxy,Running result:

    Image
  6. rekram1-node commented on Jan 11, 2026

    @rekram1-node
    Collaborator

    ahh seems like bun is hanging for some reason, if u just let it sit for a bit it should resolve I think there is a bun bug where it will take unusually long times to add a dep

  7. linrb commented on Jan 11, 2026

    @linrb
    Author

    ahh seems like bun is hanging for some reason, if u just let it sit for a bit it should resolve I think there is a bun bug where it will take unusually long times to add a dep

    Yesterday and today, sometimes after running a command I had to wait for ten or twenty minutes, but it still didn't work—I just couldn't start the service. Could you tell me if there are any other ways to fix this?

  8. barhma commented on Jan 14, 2026

    @barhma

    npm uninstall opencode-ai

    rm -rf ~/.config/opencode/plugin
    rm -rf ~/.config/opencode/superpowers
    rm -rf C:\Users\live1.local\share\opencode
    rm -rf C:\Users\live1.cache\opencode
    npm install opencode-ai@latest

    mkdir -p C:\Users\live1.config\opencode\plugin
    git clone https://github.com/obra/superpowers.git C:\Users\live1.config\opencode\superpowers
    New-Item -ItemType SymbolicLink -Target C:\Users\live1.config\opencode\superpowers.opencode\plugin\superpowers.js -Path ~/.config/opencode/plugin/superpowers.js

    It s OK!

  9. 0x3a0 commented on Jan 25, 2026

    @0x3a0

    Question

    我在windows11系统上,用scoop 安装成功了,但用命令启动不了,是为什么呢? 版本 Windows 11 专业版 版本号 25H2 操作系统版本 26200.7462 体验 Windows 功能体验包 1000.26100.275.0

    Image

    解决了吗?我也遇到和你一样的问题

  10. CStyle1024 commented on Jan 31, 2026

    @CStyle1024

    Question

    我在windows11系统上,用scoop 安装成功了,但用命令启动不了,是为什么呢? 版本 Windows 11 专业版 版本号 25H2 操作系统版本 26200.7462 体验 Windows 功能体验包 1000.26100.275.0
    Image

    解决了吗?我也遇到和你一样的问题

    遇到相同的问题,问了ai设置了镜像可以启动了:npm config set registry https://registry.npmmirror.com
    但输入对话agent一直显示加载没有回复,不知道是不是网络问题

  11. github-actions commented on Apr 2, 2026

    @github-actions
    Contributor

    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

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions