Skip to content

Instantly share code, notes, and snippets.

View spiritbroski's full-sized avatar
🍞
bismillah

ꦫꦶꦤꦺꦴ spiritbroski

🍞
bismillah
View GitHub Profile
@mathdroid
mathdroid / 1.windows-steps.ps1
Last active January 14, 2024 13:07
WSL2 Setup
# 0. open a PowerShell as administrator
# 1. Enable WSL
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
# 2. Enable VM Platform
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
# 3. RESTART system, then open a PowerShell as administrator again
# MAKE SURE YOU HAVE RESTARTED BEFORE YOU CONTINUE