Skip to content
This repository has been archived by the owner on Aug 31, 2022. It is now read-only.

Installation

Alexandre Teles edited this page Dec 26, 2021 · 1 revision

Installation is a pretty straightforward process:

  1. Download the files for our latest release from our release page (bzImage and vmlinux);
  2. Save it to an accessible folder (ex.: C:\);
  3. Create a .wslconfig file in your user directory with the following content:
[wsl2]
kernel = C:/bzImage
kernelCommandLine= mitigations=off

ATTENTION: Disabling mitigations for the guest kernel can be DANGEROUS. If you don't want to have them disabled at the cost of performance, remove the kernelCommandLine line from your file.

  1. Shutdown all your WSL2 instances using wsl --shutdown

  2. Start you instances back and they should be running on the new kernel. To check it run uname -a on your instance and the kernel version should end in -clang13.

Clone this wiki locally