打不开 #4839

Open
opened 2026-02-16 17:45:38 -05:00 by yindo · 1 comment
Owner

Originally created by @gentle6868 on GitHub (Jan 12, 2026).

Originally assigned to: @rekram1-node on GitHub.

Question

(base) PS C:\Windows\System32> npm i -g opencode-ai

added 1 package in 1s
(base) PS C:\Windows\System32> opencode
It seems that your package manager failed to install the right version of the opencode CLI for your platform. You can try manually installing the "opencode-windows-x64" package

Originally created by @gentle6868 on GitHub (Jan 12, 2026). Originally assigned to: @rekram1-node on GitHub. ### Question (base) PS C:\Windows\System32> npm i -g opencode-ai added 1 package in 1s (base) PS C:\Windows\System32> opencode It seems that your package manager failed to install the right version of the opencode CLI for your platform. You can try manually installing the "opencode-windows-x64" package
yindo added the windows label 2026-02-16 17:45:38 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Jan 12, 2026):

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

  • #7595: 我的电脑是Windows环境 使用npm包的形式安装opencode出现如图的错误 (Same Windows x64 installation error)
  • #7440: how to installing the "opencode-linux-x64" package (Same installation error pattern)

Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Jan 12, 2026): This issue might be a duplicate of existing issues. Please check: - #7595: 我的电脑是Windows环境 使用npm包的形式安装opencode出现如图的错误 (Same Windows x64 installation error) - #7440: how to installing the "opencode-linux-x64" package (Same installation error pattern) Feel free to ignore if none of these address your specific case.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#4839