Opencode di Windows

Dari Dokumentasi Robie
Revisi sejak 2 November 2026 01.25 oleh Robie (bicara | kontrib)
Loncat ke navigasi Loncat ke pencarian

Install wsl di cmd windows dengan perintah :

wsl --install lalu tekan enter

Install-wsl-windows.png


Microsoft Windows [Version 10.0.19045.3324]

(c) Microsoft Corporation. All rights reserved.

C:\Users\SMEKTA>wsl --install

Installing: Virtual Machine Platform

Virtual Machine Platform has been installed.

Installing: Windows Subsystem for Linux

Windows Subsystem for Linux has been installed.

Installing: Windows Subsystem for Linux

Windows Subsystem for Linux has been installed.

Installing: Ubuntu

Ubuntu has been installed.

The requested operation is successful. Changes will not be effective until the system is rebooted.

C:\Users\SMEKTA>

lalu ketikan perintah berikut untuk menginstall opencode :

curl -fsSL https://opencode.ai/v2/install | bash