Description

When trying to run `opencode` after a global installation via npm on Windows, it fails to execute and triggers a Windows system dialog error: "Unsupported 16-Bit Application. The program or feature '...\opencode.exe' cannot start or run due to incompatibility with 64-bit versions of Windows."
It seems the post-install script that should replace the placeholder .exe with the actual binary is either blocked or failing during the setup.
Steps to reproduce the behavior:
- Run
npm i -g opencode-ai (Notice the install-scripts blocked warning during installation).
- Run
opencode in PowerShell or Command Prompt.
- See the "Unsupported 16-Bit Application" error pop-up.
Plugins
No response
OpenCode version
No response
Steps to reproduce
No response
Screenshot and/or share link
Operating System
Windows 10 Pro
Terminal
Windows Terminal
Description
It seems the post-install script that should replace the placeholder
.exewith the actual binary is either blocked or failing during the setup.Steps to reproduce the behavior:
npm i -g opencode-ai(Notice theinstall-scripts blockedwarning during installation).opencodein PowerShell or Command Prompt.Plugins
No response
OpenCode version
No response
Steps to reproduce
No response
Screenshot and/or share link
Operating System
Windows 10 Pro
Terminal
Windows Terminal