Obtaining opencode-cli.exe without installing the desktop version #4615

Open
opened 2026-02-16 17:44:48 -05:00 by yindo · 3 comments
Owner

Originally created by @rozsazoltan on GitHub (Jan 10, 2026).

Originally assigned to: @adamdotdevin on GitHub.

Question

I noticed that the Windows desktop distribution includes an opencode-cli.exe. How can I obtain the latest opencode-cli.exe without installing the desktop version, given that the releases do not provide it?

I don't want to use the npm package, since it's less portable. By downloading the latest version directly from the CLI, I can carry it with me and it will work on any Windows system indefinitely.

Originally created by @rozsazoltan on GitHub (Jan 10, 2026). Originally assigned to: @adamdotdevin on GitHub. ### Question I noticed that the Windows desktop distribution includes an `opencode-cli.exe`. How can I obtain the latest `opencode-cli.exe` without installing the desktop version, given that the releases do not provide it? I don't want to use the npm package, since it's less portable. By downloading the latest version directly from the CLI, I can carry it with me and it will work on any Windows system indefinitely.
yindo added the windowsweb labels 2026-02-16 17:44:48 -05:00
Author
Owner

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

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

  • #462: Add support for NixOS and/or Static linked binaries - discusses the need for standalone binary distribution without npm

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

@github-actions[bot] commented on GitHub (Jan 10, 2026): This issue might be a duplicate of existing issues. Please check: - #462: Add support for NixOS and/or Static linked binaries - discusses the need for standalone binary distribution without npm Feel free to ignore if none of these address your specific case.
Author
Owner

@pofeng commented on GitHub (Jan 10, 2026):

Wound you like to try to downlaod opencode-windows-x64.zip at https://github.com/anomalyco/opencode/releases/

The opencode.exe in the zip might work for you, but conflict with the opencode.exe in the Windows Opencode Desktop.

@pofeng commented on GitHub (Jan 10, 2026): Wound you like to try to downlaod opencode-windows-x64.zip at https://github.com/anomalyco/opencode/releases/ The opencode.exe in the zip might work for you, but conflict with the opencode.exe in the Windows Opencode Desktop.
Author
Owner

@rozsazoltan commented on GitHub (Jan 10, 2026):

Oh, I see - it's packaged as a zip. Got it. I'll test it, thanks for the tip. I'm using https://github.com/marcosnils/bin to automatically update these kinds of .exe files in my bin folder; I'll check how it handles zip files or what extension might be needed. I can see and understand that it was zipped because of the file size.

@rozsazoltan commented on GitHub (Jan 10, 2026): Oh, I see - it's packaged as a zip. Got it. I'll test it, thanks for the tip. I'm using https://github.com/marcosnils/bin to automatically update these kinds of `.exe` files in my `bin` folder; I'll check how it handles zip files or what extension might be needed. I can see and understand that it was zipped because of the file size.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#4615