Skip to content

Instantly share code, notes, and snippets.

@Tracnac
Created September 23, 2022 16:17
Show Gist options
  • Select an option

  • Save Tracnac/d7347a3c997842efab4f44316ca6d3b6 to your computer and use it in GitHub Desktop.

Select an option

Save Tracnac/d7347a3c997842efab4f44316ca6d3b6 to your computer and use it in GitHub Desktop.
Installation WSL #windows

Powershell admin :

  • Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
  • reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\AppModelUnlock" /t REG_DWORD /f /v "AllowDevelopmentWithoutDevLicense" /d "1"
  • reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\AppModelUnlock" /t REG_DWORD /f /v "AllowAllTrustedApps" /d "1"

reboot

Powershell admin :

  • bash.exe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment