    Skip to content

      Navigation Menu

            Sign in Appearance settings
                * Platform
                        + AI CODE CREATION
                            o GitHub Copilot Write better code with AI
                            o GitHub Copilot app Direct agents from issue to merge
                            o MCP Registry Integrate external tools
                        + DEVELOPER WORKFLOWS
                            o Actions Automate any workflow
                            o Codespaces Instant dev environments
                            o Issues Plan and track work
                            o Code Review Manage code changes
                            o Code Quality Enforce quality at merge
                        + APPLICATION SECURITY
                            o GitHub Advanced Security Find and fix vulnerabilities
                            o Code security Secure your code as you build
                            o Secret protection Stop leaks before they start
                        + EXPLORE
                            o Why GitHub
                            o Documentation
                            o Blog
                            o Changelog
                            o Marketplace
                      View all features
                * Solutions
                        + BY COMPANY SIZE
                            o Enterprises
                            o Small and medium teams
                            o Startups
                            o Nonprofits
                        + BY USE CASE
                            o App Modernization
                            o DevSecOps
                            o DevOps
                            o CI/CD
                            o View all use cases
                        + BY INDUSTRY
                            o Healthcare
                            o Financial services
                            o Manufacturing
                            o Government
                            o View all industries
                      View all solutions
                * Resources
                        + EXPLORE BY TOPIC
                            o AI
                            o Software Development
                            o DevOps
                            o Security
                            o View all topics
                        + EXPLORE BY TYPE
                            o Customer stories
                            o Events & webinars
                            o Ebooks & reports
                            o Business insights
                            o GitHub Skills
                        + SUPPORT & SERVICES
                            o Documentation
                            o Customer support
                            o Community forum
                            o Trust center
                            o Partners
                      View all resources
                * Open Source
                        + COMMUNITY
                            o GitHub Sponsors Fund open source developers
                        + PROGRAMS
                            o Security Lab
                            o Maintainer Community
                            o Accelerator
                            o GitHub Stars
                            o Archive Program
                        + REPOSITORIES
                            o Topics
                            o Trending
                            o Collections
                * Enterprise
                        + ENTERPRISE SOLUTIONS
                            o Enterprise platform AI-powered developer platform
                        + AVAILABLE ADD-ONS
                            o GitHub Advanced Security Enterprise-grade security features
                            o Copilot for Business Enterprise-grade AI features
                            o Premium Support Enterprise-grade 24/7 support
              * Pricing
                Type / to search
                Sign in
              Sign up Appearance settings
      You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

              Uh oh!

              There was an error while loading. Please reload this page.

              microsoft / WSL Public
              * Notifications You must be signed in to change notification settings
              * Fork 1.8k
                * Star 33.4k
          * Code
          * Issues 916
          * Pull requests 49
          * Discussions
          * Actions
          * Security and quality 0
          * Insights
          Additional navigation options
                  * Code
                  * Issues
                  * Pull requests
                  * Discussions
                  * Actions
                  * Security and quality
                  * Insights
                                              master
                                          Branches Tags
                                            Go to file
                                        Code
                                          Open more actions menu

                                        Folders and files

                                          Name                             Name                               Last commit message    Last commit date
                                            Latest commit                
                                                                         
                                                History                  
                                                                         
                                                1,218 Commits            
                                                  1,218 Commits          
                                                  .config                          .config                                                           
                                                  .github                          .github                                                           
                                                  .pipelines                       .pipelines                                                        
                                                  Images                           Images                                                            
                                                  cloudtest                        cloudtest                                                         
                                                  cmake                            cmake                                                             
                                                  diagnostics                      diagnostics                                                       
                                                  distributions                    distributions                                                     
                                                  doc                              doc                                                               
                                                  intune                           intune                                                            
                                                  localization                     localization                                                      
                                                  msipackage                       msipackage                                                        
                                                  msixgluepackage                  msixgluepackage                                                   
                                                  msixinstaller                    msixinstaller                                                     
                                                  nuget                            nuget                                                             
                                                  src                              src                                                               
                                                  storebroker                      storebroker                                                       
                                                  test                             test                                                              
                                                  tools                            tools                                                             
                                                  triage                           triage                                                            
                                                  .clang-format                    .clang-format                                                     
                                                  .editorconfig                    .editorconfig                                                     
                                                  .gdnsuppress                     .gdnsuppress                                                      
                                                  .gitattributes                   .gitattributes                                                    
                                                  .gitignore                       .gitignore                                                        
                                                  .vsconfig                        .vsconfig                                                         
                                                  CMakeLists.txt                   CMakeLists.txt                                                    
                                                  CODE_OF_CONDUCT.md               CODE_OF_CONDUCT.md                                                
                                                  CONTRIBUTING.md                  CONTRIBUTING.md                                                   
                                                  DATA_AND_PRIVACY.md              DATA_AND_PRIVACY.md                                               
                                                  Directory.Build.Props            Directory.Build.Props                                             
                                                  LICENSE                          LICENSE                                                           
                                                  NOTICE.txt                       NOTICE.txt                                                        
                                                  README.md                        README.md                                                         
                                                  SECURITY.md                      SECURITY.md                                                       
                                                  SUPPORT.md                       SUPPORT.md                                                        
                                                  UserConfig.cmake.sample          UserConfig.cmake.sample                                           
                                                  cgmanifest.json                  cgmanifest.json                                                   
                                                  nuget.config                     nuget.config                                                      
                                                  packages.config                  packages.config                                                   
                                            View all files               
                                          

                                              Repository files navigation

                                                * 
                                                * README
                                                * Code of conduct
                                                * Contributing
                                                * MIT license
                                                * Security
                                                More items

                                                Welcome to the Windows Subsystem for Linux (WSL) repository

                                              Learn more about WSL | Downloads & Release notes | Contributing to WSL

                                                About

                                              Windows Subsystem for Linux (WSL) is a powerful way for you to run your Linux command-line tools, utilities and applications, all unmodified and directly on Windows without the overhead of a traditional virtual machine or dual boot setup.

                                              You can install WSL right away by running this command inside of your Windows command line:

                                                wsl --install

                                              You can learn more about best practices for setup, overviews of WSL and more at our WSL documentation page.

                                                Related repositories

                                              WSL also has related open source repositories:

                                                * microsoft/WSL2-Linux-Kernel - The Linux kernel shipped with WSL
                                                * microsoft/WSLg - Support for Linux GUI apps in WSL
                                                * microsoftdocs/wsl - WSL documentation at aka.ms/wsldocs

                                                Contributing

                                              This project welcomes contributions of all types, including coding features / bug fixes, documentation fixes, design proposals and more.

                                              We ask that before you start working on a contribution, please read our Contributor's Guide.

                                              For guidance on developing for WSL, please read the developer docs for instructions on how to build WSL from source and details on its architecture.

                                                Code of Conduct

                                              This project has adopted the Microsoft Open Source Code of Conduct

                                                Trademarks

                                              This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow Microsoft’s Trademark & Brand Guidelines. Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject to those third-party’s policies.

                                                Privacy and telemetry

                                              The application logs basic diagnostic data (telemetry). For more information on privacy and what we collect, see our data and privacy documentation.

                                              The software may collect information about you and your use of the software and send it to Microsoft. Microsoft may use this information to provide services and improve our products and services. You may turn off the telemetry as described in the repository. There are also some features in the software that may enable you and Microsoft to collect data from users of your applications. If you use these features, you must comply with applicable law, including providing appropriate notices to users of your applications together with a copy of Microsoft’s privacy statement. Our privacy statement is located at https://go.microsoft.com/fwlink/?LinkID=824704. You can learn more about data collection and use in the help documentation and our privacy statement. Your use of the software operates as your consent to these practices.

                                        About

                                        Windows Subsystem for Linux

                                          wsl.dev/

                                        Resources

                                          Readme
                                          MIT license

                                        Code of conduct

                                          Code of conduct

                                        Contributing

                                          Contributing

                                        Security policy

                                          Security policy
                                          Activity
                                          Custom properties

                                        Stars

                                          33.4k stars

                                        Watchers

                                          592 watching

                                        Forks

                                          1.8k forks
                                          Report repository

                                        Releases

                                        Used by

                                        Contributors

                                        Languages

    Footer

        © 2026 GitHub, Inc.

      Footer navigation

        * Terms
        * Privacy
        * Security
        * Status
        * Community
        * Docs
        * Contact
        * Manage cookies
        * Do not share my personal information
      You can’t perform that action at this time.