舊款 CPU 適用的 OpenCode v2.2.7 非官方 Node.js Windows x64 版本更新
OpenCode v2.2.7 for Older CPUs: Updated Unofficial Node.js Build (Windows x64)
OpenCode 舊款 CPU 適用的非官方 Node.js Windows x64 版本已更新至 v2.2.7。此版本以 Node.js 將 OpenCode 打包成可執行檔,避開 Bun 在不支援 SSE4.2 的 CPU 上無法啟動的檢查。版本需從 Releases 頁面下載並解壓,無需安裝;此版本與 OpenCode 專案無關。
Update: the Node.js build of OpenCode for older CPUs is now on v2.2.7.
If you missed the first post: the official Windows binary is compiled with Bun, and Bun refuses to start on CPUs without SSE4.2:
this CPU is missing SSE4.2 support, which Bun requires
This build packages OpenCode as a Node.js executable, so that check never runs. Nothing to install, just extract and run.
Repo: https://github.com/foxauraai/opencode-node/
What changed
- Rebuilt from the official v2.2.7 tag(commit
fedc6f2)
Upgrade
- Remove any old version and cache first
- Download the new zip from the Releases page.
- Extract it to a new folder, for example
C:\opencode-2.2.7. - Run:
cd /d C:\opencode-2.2.7\cli-node-windows-x64
OpenCode.bat
If you added the old folder to your PATH, point it to the new one, then open a new Command Prompt.
Note
- It's an unofficial build, not affiliated with the OpenCode project.
If it doesn't start on your machine, open an issue with your CPU model, Windows version, and the full error text.
來源:DEV Community · dev.to
