Skip to main content
Microsoft
Windows Command Line
Windows Command Line
  • Home
  • DevBlogs
    • App Center
    • Azure DevOps
    • Notification Hubs
    • Visual Studio
    • Visual Studio Code
    • Visual Studio for Mac
    • Azure Artifacts
    • Azure Boards
    • Azure Pipelines
    • Azure Repos
    • Azure Test Plans
    • DevOps
    • C++
    • Java
    • Java Blog in Chinese
    • JavaScript
    • PowerShell
    • Python
    • Q#
    • Scripting
    • TypeScript
    • Visual Basic
    • Visual C#
    • Visual F#
    • .NET
    • ASP.NET
    • NuGet
    • Xamarin
    • Apps for Windows
    • Azure Government
    • Azure SDKs
    • Bing Dev Center
    • Command Line
    • Developer Support
    • DirectX Developer Blog
    • IoT Developer
    • Math In Office
    • Microsoft Edge Dev
    • Microsoft Azure
    • Office 365 Development
    • Old New Thing
    • PAX Graph
    • PAX Media
    • PAX Windows
    • Perf and Diagnostics
    • PIX on Windows
    • Startup Developers
    • Surface Duo
    • Sustainable Software
    • Windows Search Platform
    • Azure Cosmos DB
    • Azure Data Studio
    • Azure SQL
    • Azure Synapse Analytics
    • OData
    • Revolutions R
    • SQL Server Data Tools

    Learn About Windows Console & Windows Subsystem For Linux (WSL)

    learnbash

    Want to get started right away?

    Take our free course here: Get started with the Windows Subsystem for Linux.

    Overview

    Windows Subsystem for Linux (WSL) has made a lot of waves since it was announced at //Build 2016 in April 2016. The Windows Subsystem for Linux (WSL) lets developers run a GNU/Linux environment — including most command-line tools, utilities, and applications — directly on Windows. To help answer some of these questions we’ve collected together most of the learning resources – docs, blog posts, and videos, below, where you can learn all about this exciting Windows 10 feature.

    Here’s a table of contents of what you can find on this page:

    • Official Documentation
    • Deep Dives into the WSL architecture
    • Podcasts
    • What can you do with WSL?
    • The original BUILD 2016 WSL introduction

    Official Documentation

    The official WSL documentation is regularly updated with improved instructions, and documentation for new features as we continue to improve WSL. You can find the latest install instructions, feature descriptions, and general guidelines there. Be sure to revisit regularly to keep up to date!

    Deep Dives

    We invited some of the key WSL architects and developers to explain the key internal workings of WSL. The result is a series of WSL internals-focused blog posts and Channel9 videos recorded by the inimitable Seth Juarez for your viewing enjoyment!

    Note: This list of posts and videos will be updated as we publish new content!

    1. Blog: Windows Subsystem for Linux: Architectural Overview
    2. Blog: Windows Subsystem for Linux: Process Architecture
    3. Blog: Windows Subsystem for Linux: WSL System Calls
    4. Blog: Windows Subsystem for Linux: WSL File System Support
    5. Blog: Windows and Ubuntu Interoperability
    6. Blog: WSL Networking
    7. Blog: Accessing Linux files from Windows
    8. Video: What is the Windows Subsystem for Linux 2?

      Hope you enjoy these resources. We have more planned, but if there’s anything you’re particularly interested in learning about, pile onto the comments 🙂

    Podcasts

    Want to learn more about WSL while you’re away from your screen? Listen to the following podcast interviews:

    1. Shortly after unveiling Bash/WSL for the first time, Rich was interviewed by Richard Campbell & Carl Franklin, of .NET Rocks fame for episode #1284 titled “Making Windows Command Line Cool Again”:

    2. After the Windows 10 Creators Update release, Rich was interviewed by Mary Jo Foley, Paul Thurrott & Leo Laporte on episode 514 of the popular “Windows Weekly” video/audio cast show, for a session titled “Bash on Windows” (of course :D)

    What can you do with WSL?

    The resources below share examples of what you can do with WSL. We hope to grow this list over time, so please check-back often to see some of the cool things people do with WSL!

    Use Visual Studio Code to develop your apps in a full Linux environment

    You can use the Windows Subsystem for Linux along with the Visual Studio Code Remote extension to have a fully featured Linux development environment right inside your Windows machine! Read our blog post: An In Depth Tutorial on Linux Development on Windows with WSL and Visual Studio Code to learn more.

    Use Visual C++ for Linux to build and debug C++ code on WSL

    During Windows DevDays on Feb 8th 2017, Stacey and Rick demonstrated using Visual C++ for Linux to compile and debug an application on WSL! Many thanks to Marc & the team for their help building this demo! 🙂 DevDays Feb 2017  

    Original Build 2016 WSL Introduction

    This is our original intro video which was published simultaneously with the original launch of WSL at Build 2016:

    Note that most of the caution urged in the video regarding WSL’s initial “gaps” and “missing features” have been remedied in the Insider builds leading up to, and including, Windows 10 Creators Update.

    What’s new in WSL and Windows Console in Windows 10 Anniversary Update?

    Here’s a video summarizing what’s new in WSL and Console in Windows 10 Anniversary Update:

    What’s new in WSL and Windows Console in Windows 10 Creators Update?

    After Windows 10 Anniversary Update was launched, we immediately began work on features that will ultimately show-up in Windows 10 Creator Update (due spring 2017). These new WSL and Console features were introduced in the Windows Insider builds rolling out of our build labs during the latter half of 2016, which I summarize in this post.

    Updates

    • 2019/07/25 – Major overhaul of learn page
    • 2017/10/17 – Added “What’s new in Win10 FCU” for Console & WSL blog posts
    • 2017/10/10 – Added “What you can do with WSL” section & VC++ link
    • 2017/07/21 – Added link to official docs
    • 2017/07/07 – Added podcast links
    • 2016/06/09 – Added Syscalls post & video
    • 2016/06/15 – Added Filesystem post & video
    • 2016/10/20 – Added Interop post & video
    • 2016/11/15 – Added Networking post & video
    • 2016/12/15 – Added Update video
    Topics
    AccessibilityAF_UNIXANSI/VT Sequencesautomountbackground tasksBashBASICBuffersBuild2017Build2019Build2020chmodChocolateycmdColorCommand-LineConPTYConsolecontainersCreators UpdatedaemonsDrvFsDvfFsEncodingfilesystemfontifconfiginotifyinteropLinuxLinuxToolsmetadataMS-DOSnetworkingOpen-SourceOpenSSHPowerShellPseduoConsolePseudo ConsolePTYreleaseRenderingsettingssocketsStoreSyscallsTabs & SetsTeletypeTerminalThemesTmuxTTYUbuntuUnicodeUTF-8VIntageVisual StudioWhat's NewWin10SWindowsWindows 10Windows 10 SWindows Package Managerwingetwinget.exewinuiWSLwslconfZoom
    Top Bloggers
    Avatar

    Kayla Cinnamon
    Program Manager

    Craig Loewen

    Craig Loewen
    Program Manager

    Demitrius Nelon

    Demitrius Nelon
    Senior Program Manager

    Avatar

    Pierre Boulay
    Software Engineer II

    Avatar

    Tyler Citrin
    Program Manager

    Archive
  • December 2020
  • November 2020
  • October 2020
  • September 2020
  • August 2020
  • July 2020
  • June 2020
  • May 2020
  • April 2020
  • March 2020
  • February 2020
  • January 2020
  • December 2019
  • November 2019
  • October 2019
  • September 2019
  • August 2019
  • July 2019
  • June 2019
  • May 2019
  • February 2019
  • December 2018
  • November 2018
  • October 2018
  • September 2018
  • August 2018
  • July 2018
  • June 2018
  • May 2018
  • April 2018
  • March 2018
  • February 2018
  • January 2018
  • December 2017
  • November 2017
  • October 2017
  • August 2017
  • July 2017
  • June 2017
  • May 2017
  • April 2017
  • February 2017
  • January 2017
  • November 2016
  • October 2016
  • September 2016
  • July 2016
  • June 2016
  • April 2016
  • March 2016
  • Stay informed

    Login
    Code Block
    What's new
    • Surface Duo
    • Surface Laptop Go
    • Surface Pro X
    • Surface Go 2
    • Surface Book 3
    • Microsoft 365
    • Windows 10 apps
    • HoloLens 2
    Microsoft Store
    • Account profile
    • Download Center
    • Microsoft Store support
    • Returns
    • Order tracking
    • Virtual workshops and training
    • Microsoft Store Promise
    • Financing
    Education
    • Microsoft in education
    • Office for students
    • Office 365 for schools
    • Deals for students & parents
    • Microsoft Azure in education
    Enterprise
    • Azure
    • AppSource
    • Automotive
    • Government
    • Healthcare
    • Manufacturing
    • Financial services
    • Retail
    Developer
    • Microsoft Visual Studio
    • Windows Dev Center
    • Developer Center
    • Microsoft developer program
    • Channel 9
    • Microsoft 365 Dev Center
    • Microsoft 365 Developer Program
    • Microsoft Garage
    Company
    • Careers
    • About Microsoft
    • Company news
    • Privacy at Microsoft
    • Investors
    • Diversity and inclusion
    • Accessibility
    • Security
    English (United States)
    • Sitemap
    • Contact Microsoft
    • Privacy
    • Manage cookies
    • Terms of use
    • Trademarks
    • Safety & eco
    • About our ads
    • © Microsoft 2021