ChristianLempa / cheat-sheets

This is my personal knowledge-base. Here you'll find code-snippets, technical documentation, and command reference for various tools, and technologies.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

add wsl cs

ChristianLempa opened this issue · comments

add wsl cs

PowerShell

Easy (auto install)

Details
  1. win+x
  2. run PowerShell (administrator)
  3. wsl --install

With my own hands

Details
  1. win+x
  2. run PowerShell (administrator)
  3. dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
  4. Reboot PC ❗
  5. run PS(adm)
  6. dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
  7. Reboot PC ❗ ❗
  8. download "Update wsl2"
    alternative for - arm64
  9. open the downloaded file and agree with everything
  10. run PS(adm)
  11. wsl --set-default-version 2

Thus, we have chosen WSL2 as the default version

  1. Reboot PC ❗ ❗ ❗

Mission complete !

links to the distribution's official pages (Microsoft Store)

Details