Opencode di Windows: Perbedaan antara revisi

Dari Dokumentasi Robie
Loncat ke navigasi Loncat ke pencarian
Tidak ada ringkasan suntingan
Tidak ada ringkasan suntingan
Baris 5: Baris 5:




<code>Microsoft Windows [Version 10.0.19045.3324]</code>


<code>(c) Microsoft Corporation. All rights reserved.</code>
Microsoft Windows [Version 10.0.19045.3324]


<code>C:\Users\SMEKTA>wsl --install</code>
(c) Microsoft Corporation. All rights reserved.


<code>Installing: Virtual Machine Platform</code>
C:\Users\SMEKTA>wsl --install


<code>Virtual Machine Platform has been installed.</code>
Installing: Virtual Machine Platform


<code>Installing: Windows Subsystem for Linux</code>
Virtual Machine Platform has been installed.


<code>Windows Subsystem for Linux has been installed.</code>
Installing: Windows Subsystem for Linux


<code>Installing: Windows Subsystem for Linux</code>
Windows Subsystem for Linux has been installed.


<code>Windows Subsystem for Linux has been installed.</code>
Installing: Windows Subsystem for Linux


<code>Installing: Ubuntu</code>
Windows Subsystem for Linux has been installed.


<code>Ubuntu has been installed.</code>
Installing: Ubuntu


<code>The requested operation is successful. Changes will not be effective until the system is rebooted.</code>
Ubuntu has been installed.


<code>C:\Users\SMEKTA></code>
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 :
lalu ketikan perintah berikut untuk menginstall opencode :


<code>curl -fsSL <nowiki>https://opencode.ai/v2/install</nowiki> | bash</code>
<code>curl -fsSL <nowiki>https://opencode.ai/v2/install</nowiki> | bash</code>

Revisi per 2 November 2026 01.25

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