Opencode di Windows: Perbedaan antara revisi
k (Melindungi "Opencode di Windows" ([Sunting=Hanya untuk pengurus] (selamanya) [Pindahkan=Hanya untuk pengurus] (selamanya))) |
Tidak ada ringkasan suntingan |
||
| Baris 20: | Baris 20: | ||
C:\Users\SMEKTA> | C:\Users\SMEKTA> | ||
Selanjutnya jalankan perintah : | |||
<code>wsl.exe --install --no-distribution</code> lalu tekan enter | |||
wsl.exe --install --no-distribution | |||
Installing Windows optional component: Microsoft-Windows-Subsystem-Linux | |||
Deployment Image Servicing and Management tool | |||
Version: 10.0.19041.844 | |||
Image Version: 10.0.19045.3324 | |||
Enabling feature(s) | |||
[==========================100.0%==========================] | |||
The operation completed successfully. | |||
Installing Windows optional component: VirtualMachinePlatform | |||
Deployment Image Servicing and Management tool | |||
Version: 10.0.19041.844 | |||
Image Version: 10.0.19045.3324 | |||
Enabling feature(s) | |||
[==========================100.0%==========================] | |||
The operation completed successfully. | |||
The requested operation is successful. Changes will not be effective until the system is rebooted. | |||
C:\Users\SMEKTA> | |||
[[Berkas:Install-wsl-windows-2.png|pus|jmpl|534x534px]] | |||
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.29
Install wsl di cmd windows dengan perintah :
wsl --install lalu tekan enter
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>
Selanjutnya jalankan perintah :
wsl.exe --install --no-distribution lalu tekan enter
wsl.exe --install --no-distribution
Installing Windows optional component: Microsoft-Windows-Subsystem-Linux
Deployment Image Servicing and Management tool
Version: 10.0.19041.844
Image Version: 10.0.19045.3324
Enabling feature(s)
[==========================100.0%==========================]
The operation completed successfully.
Installing Windows optional component: VirtualMachinePlatform
Deployment Image Servicing and Management tool
Version: 10.0.19041.844
Image Version: 10.0.19045.3324
Enabling feature(s)
[==========================100.0%==========================]
The operation completed successfully.
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