opencode
opencode copied to clipboard
Not working in WSL2
Question
Installed the lastest version 1.1.4 via curl in WSL2.
WSL version: 2.4.11.0
Kernel version: 5.15.167.4-1
WSLg version: 1.0.65
MSRDC version: 1.2.5716
Direct3D version: 1.611.1-81528511
DXCore version: 10.0.26100.1-240331-1435.ge-release
Windows version: 10.0.26200.7462
Distributor ID: Ubuntu
Description: Ubuntu 24.04.3 LTS
Release: 24.04
Codename: noble
When running opencode in terminal, only blank screen can be seen.
Similarly, when running opencode server via opencode serve --hostname 0.0.0.0, and connect with IDE, also shows blank screen.