lollms-webui/scripts/wsl/wsl_installer.bat
Saifeddine ALOUI 69ae9628af updated ui
2023-09-22 23:16:22 +02:00

10 lines
346 B
Batchfile

@echo off
echo Checking if wsl is installed...
wsl --list >nul 2>&1
if %errorlevel% neq 0 (
echo WSL is not enabled or installed. Enabling and installing...
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
echo WSL installation complete.
) else (
echo WSL is enabled and installed.
)