forked from microsoft/WSL2-Linux-Kernel
-
Notifications
You must be signed in to change notification settings - Fork 43
home
xyb edited this page May 16, 2020
·
1 revision
-
Make sure you are using WSL2. Instruction: http://aka.ms/wsl2
-
Download latest kernel from: https://github.com/xieyubo/WSL2-Linux-Kernel/releases/download/wsl-xyb-port-5.6.y-latest/kernel
-
Create/edit WSL2 configure file:
%userprofile%\.wslconfig
, add the following content:[wsl2] kernel=d:\\downloaded\\kernel
-
Shutdown WSL service in a cmd window:
wsl --shutdown
- VS code can't work well? See https://www.xyb.name/2020/05/16/make-vs-code-work-well-under-wsl2-with-customized-kernel/