qmetrics.net

WSL2 Linux Kernel

Linux kernel sources used by Windows Subsystem for Linux 2

TerminalsDesktop/CLI app

This tree holds source and configuration for the Linux kernel that powers WSL2 on Windows. Users can build a custom kernel and point WSL at it through .wslconfig.

Overview

The WSL2 Linux Kernel project publishes the kernel source and Microsoft-specific configuration files that ship with Windows Subsystem for Linux 2. It is the Linux side of WSL2’s lightweight virtual machine, not a standalone distribution users run by itself.

Bug and feature requests for WSL behavior are directed to the separate WSL GitHub project rather than this kernel repository. Fixes that belong in upstream Linux are expected to go through normal kernel contribution paths, including distinct handling for security issues.

Build instructions walk through installing toolchain packages on Ubuntu, optionally editing config-wsl via menuconfig, compiling with the WSL config, installing modules to a local folder, exporting UAPI headers, building perf tooling, and packaging modules, headers, and perf into a VHDX artifact via a provided script or manual ext4 and qemu-img steps.

Installation documentation for end users references the .wslconfig file when substituting a privately built kernel binary. The result integrates with Microsoft’s WSL userland rather than replacing a general-purpose Linux OS image.

Key features

  • WSL2-specific kernel configuration
  • Ubuntu-oriented build dependency list
  • Modules, headers, and perf packaging
  • VHDX artifact generation script
  • Custom kernel via .wslconfig
  • Upstream Linux kernel codebase base
  • Parallel make option for builds

Use cases

  • Building a custom WSL2 kernel
  • Packaging modules for a WSL release
  • Kernel changes needed for WSL workflows
  • Including perf tooling with a build
  • Testing config-wsl adjustments locally

Similar software

Oh My Zsh

Community zsh configuration framework with plugins

Oh My Zsh manages zsh setup with bundled plugins, themes, and an installer driven by curl, wget, or fetch.

★ 190.9k⟳ yesterdayMIT
TerminalsDesktop/CLI app

Gemini CLI

Terminal AI agent for enterprise Gemini Code Assist

Gemini CLI is an open-source command-line agent for querying and editing codebases, running shell workflows, and connecting MCP tools under Gemini Code Assist on Google Cloud.

★ 109.2k⟳ 2 days agoApache-2.0
AI Assisted CodingDesktop/CLI app

Terminal

Modern tabbed terminal for Windows command-line users

Windows Terminal is a desktop terminal application for Windows with tabs, theming, and rich text. The same codebase includes the classic console host and shared rendering components.

★ 105.5k⟳ 2 days agoMIT
TerminalsDesktop/CLI app

fzf

General-purpose command-line fuzzy finder

Fzf filters lists interactively in the terminal using fuzzy matching. It ships as a single binary with shell and editor integrations.

★ 84.5k⟳ 3 days agoMIT
TerminalsDesktop/CLI app

Lazygit

Terminal user interface for everyday Git workflows

Lazygit wraps common Git operations in a keyboard-driven terminal UI. You can stage partial changes, rebase, cherry-pick, and inspect history without memorizing fragile command sequences.

★ 84.1k⟳ 5 days agoMIT

Tabby

Configurable cross-platform terminal with SSH and serial

Tabby is a terminal emulator for local shells, SSH, Telnet, and serial links on Windows, macOS, and Linux. It adds splits, tabs, themes, and integrated connection management.

★ 75.6k⟳ 4 days agoMIT
TerminalsDesktop/CLI app
Open Source Alternative to:Termius