What is Windows subsystem (WSL)?

This is a recommends products dialog
Top Suggestions
Starting at
View All >
Language
French
English
ไทย
German
繁體中文
Country
Hi
All
Sign In / Create Account
language Selector,${0} is Selected
Register & Shop at Lenovo Pro
Register at Education Store
Pro Tier Benefits
• Save up to an extra 20% on Think everyday pricing.
• Spend $15K, advance for FREE to Plus Tier with increased benefits.
Plus Tier Benefits
• Save up to an extra 25% on Think everyday pricing.
• Spend $50K, advance for FREE to Elite Tier with increased benefits.
Elite Tier Benefits
• Save up to an extra 30% on Think everyday pricing.
Reseller Benefits
• Access to Lenovo's full product portfolio
• Configure and Purchase at prices better than Lenovo.com
View All Details >
more to reach
PRO Plus
PRO Elite
Congratulations, you have reached Elite Status!
Pro for Business
Delete icon Remove icon Add icon Reload icon
TEMPORARILY UNAVAILABLE
DISCONTINUED
Temporary Unavailable
Cooming Soon!
. Additional units will be charged at the non-eCoupon price. Purchase additional now
We're sorry, the maximum quantity you are able to buy at this amazing eCoupon price is
Sign in or Create an Account to Save Your Cart!
Sign in or Create an Account to Join Rewards
View Cart
Your cart is empty! Don’t miss out on the latest products and savings — find your next favorite laptop, PC, or accessory today.
Remove
item(s) in cart
Some items in your cart are no longer available. Please visit cart for more details.
has been deleted
Please review your cart as items have changed.
of
Contains Add-ons
Subtotal
Proceed to Checkout
Yes
No
Popular Searches
What are you looking for today ?
Trending
Recent Searches
Hamburger Menu
{"backgroundColor":"#e6f4fa","sideMsg":"","data":[{"bannerInfo":{"t_id":"Page1ff6ee29-6ab8-4901-b7c9-3b7b18fd7449","language":{"en_nz":"%3Cp%3E%3Cspan%20style%3D%22text-wrap%3A%20wrap%3B%22%3ENeed%20Help%3F%26nbsp%3B%3C%2Fspan%3E%3Ca%20target%3D%22_self%22%20href%3D%22tel%3A0800%20446%20833%20Option%20%232%22%20style%3D%22text-wrap%3A%20wrap%3B%20color%3A%20rgb(41%2C%2078%2C%20149)%3B%22%3ECall%20us%20on%200800%20446%20833%20Option%20%232%3C%2Fa%3E%3Cspan%20style%3D%22text-wrap%3A%20wrap%3B%22%3E%26nbsp%3Bor%26nbsp%3B%3C%2Fspan%3E%3Ca%20target%3D%22_self%22%20href%3D%22https%3A%2F%2Finside.chat%2FLenovoNZ%22%20style%3D%22text-wrap%3A%20wrap%3B%20color%3A%20rgb(41%2C%2078%2C%20149)%3B%22%3Echat%20with%20us%3C%2Fa%3E%3Cspan%20style%3D%22text-wrap%3A%20wrap%3B%22%3E%26nbsp%3Bfor%20order%20related%20help%20and%20access%20to%20special%20deals!%3C%2Fspan%3E%3C%2Fp%3E","en":""},"id":"Page1ff6ee29-6ab8-4901-b7c9-3b7b18fd7449"}},{"pcInfo":"","mAndTabInfo":"","bannerInfo":{"t_id":"Pagee96d377d-d2ee-4534-a46c-efd41e80772e","language":{"en_nz":"%3Cp%3E%3Cimg%20src%3D%22https%3A%2F%2Fp3-ofp.static.pub%2Ffes%2Fcms%2F2022%2F09%2F20%2Fsgy8gw8u4tymopd8g2224x0drocvbb133978.png%22%20alt%3D%22zip-logo%22%20style%3D%22text-wrap%3A%20wrap%3B%22%2F%3E%3Cspan%20style%3D%22text-wrap%3A%20wrap%3B%22%3E%26nbsp%3BWanting%20to%20use%20ZIP%3F%20Chat%20with%20us%20or%20call%20us%20on%200800%20446%20833%20option%232%3C%2Fspan%3E%3C%2Fp%3E","en":""},"id":"Pagee96d377d-d2ee-4534-a46c-efd41e80772e"},"gInfo":""},{"pcInfo":"","mAndTabInfo":"","bannerInfo":{"t_id":"Pagee04d57b5-c8f6-4eab-ae95-882fa6f2a7ea","language":{"en_nz":"%3Cp%3E%3Cspan%20style%3D%22text-wrap%3A%20wrap%3B%22%3E%3Cspan%20style%3D%22text-wrap%3A%20wrap%3B%22%3E%3C%2Fspan%3E%3Cstrong%3ELenovo%20Education%3C%2Fstrong%3E%20%7C%20Register%20to%20unlock%20savings%20%26amp%3B%20benefits%20on%20study-friendly%20PCs%20and%20accessories.%3Cspan%20style%3D%22text-wrap%3A%20wrap%3B%22%3E%3C%2Fspan%3E%3C%2Fspan%3E%3Cbr%20style%3D%22text-wrap%3A%20wrap%3B%22%2F%3E%3Ca%20href%3D%22https%3A%2F%2Fwww.lenovo.com%2Fnz%2Fedu%2Fnzeducation%2Fen%2Flogin%2Fanzedu%2F%22%20target%3D%22_blank%22%20title%3D%22SIGN%20UP%20OR%20LOG%20IN%22%20style%3D%22text-wrap%3A%20wrap%3B%20color%3A%20rgb(41%2C%2078%2C%20149)%3B%22%3EJoin%20Lenovo%20Edu%3C%2Fa%3E%3Cspan%20style%3D%22text-wrap%3A%20wrap%3B%22%3E%26nbsp%3B%7C%3C%2Fspan%3E%3Cspan%20style%3D%22text-wrap%3A%20wrap%3B%22%3E%26nbsp%3B%3C%2Fspan%3E%3Ca%20href%3D%22https%3A%2F%2Fwww.lenovo.com%2Fnz%2Fen%2Flenovo-edu%2Fstudent%2Fbenefits%2F%22%20target%3D%22_blank%22%20title%3D%22SIGN%20UP%20OR%20LOG%20IN%22%20style%3D%22text-wrap%3A%20wrap%3B%20color%3A%20rgb(41%2C%2078%2C%20149)%3B%22%3EAbout%20Edu%3C%2Fa%3E%3C%2Fp%3E","en":""},"id":"Pagee04d57b5-c8f6-4eab-ae95-882fa6f2a7ea"},"gInfo":""},{"pcInfo":"","mAndTabInfo":"","bannerInfo":{"t_id":"Page9229a0ca-154b-48a2-bafe-18b30a80f9c1","language":{"en_nz":"%3Cp%3E%3Cspan%20style%3D%22text-wrap%3A%20wrap%3B%22%3E%3Cstrong%3EClearance%20Sale%3C%2Fstrong%3E%26nbsp%3B%7C%20%26nbsp%3BLast%20chance%20to%20save%20BIG%20on%20selected%20PCs%2C%20monitors%20and%20accessories.%3C%2Fspan%3E%3Cbr%20style%3D%22text-wrap%3A%20wrap%3B%22%2F%3E%3Ca%20href%3D%22https%3A%2F%2Fwww.lenovo.com%2Fnz%2Fen%2Fd%2Fdeals%2Fclearance-sale%2F%3FipromoID%3Dnz_hello_bar_clearance%22%20target%3D%22_blank%22%20title%3D%22SIGN%20UP%20OR%20LOG%20IN%22%20style%3D%22text-wrap%3A%20wrap%3B%20color%3A%20rgb(41%2C%2078%2C%20149)%3B%22%3EShop%20Deals%3C%2Fa%3E%3C%2Fp%3E","en":""},"id":"Page9229a0ca-154b-48a2-bafe-18b30a80f9c1"},"gInfo":""}],"autoRun":true,"displayTerminal":"pc,tablet,mobile"}


What is Windows subsystem (WSL)?

WSL is a compatibility layer developed by Microsoft that allows you to run a full-fledged Linux® environment directly on your Windows operating system. With WSL, you can use Linux® command-line tools and run Linux® applications without the need for a virtual machine or dual-boot setup.

How does WSL work?

WSL works by translating Linux® system calls into Windows system calls, allowing Linux® binaries to run natively on Windows. It provides a Linux® -compatible kernel interface that redirects system calls and manages the file system, network, and process execution. This allows you to seamlessly integrate Linux® tools and utilities into your Windows workflow.

What are the benefits of using WSL?

Using WSL has several benefits. Firstly, it enables developers to utilize Linux® tools and utilities without having to switch to a different operating system or set up a virtual machine. This makes it easier to develop and test cross-platform applications. Additionally, WSL provides access to the rich Linux® ecosystem, including popular programming languages, tools, and package managers. It also offers improved performance compared to traditional virtualization solutions.

Can I use WSL on any Windows version?

No, WSL is only available on certain versions of Windows. Initially, it was introduced in Windows 10 version 1607 and has since received various updates and improvements. As of now, WSL is supported on Windows 10 Pro, Enterprise, and Education editions. However, with the release of Windows 11, WSL becomes available to all Windows 11 editions, including Home.

What Linux® distributions are supported by WSL?

WSL currently supports several Linux® distributions, including Ubuntu, Debian, Fedora, Kali Linux®, and more. These distributions can be installed directly from the Microsoft Store or by downloading the distribution's appx package. Each distribution runs as a separate, isolated environment, allowing you to install different distributions side by side.

How can I install and enable WSL on my Windows machine?

To install WSL, you can follow these steps:

  • Open Windows PowerShell as an administrator.
  • Run the command wsl --install to enable the necessary Windows features and download the Linux® kernel update.
  • Restart your computer when prompted.
  • After the restart, open the Microsoft Store and search for the desired Linux® distribution.
  • Choose the distribution you want to install and click the "Install" button.
  • Once the installation is complete, launch the distribution from the Start menu or by executing its command in Command Prompt or PowerShell.

Can I access files from my Windows system within WSL?

Yes, you can access files from your Windows system within WSL. WSL provides a convenient way to mount and access Windows drives, allowing you to work seamlessly with files and directories between the two environments. By default, your Windows drives are automatically mounted under the /mnt directory within WSL. For example, you can access your C: drive from WSL by navigating to /mnt/c/.

Can I run graphical applications with WSL?

Yes, you can run graphical applications with WSL by utilizing a Windows X server. One popular X server for Windows is Xming. After installing an X server, you can configure WSL to use it by setting the DISPLAY environment variable. This will enable you to run Linux® graphics processing unit (GUI) applications and have them displayed on your Windows desktop.

Does WSL support Docker?

Yes, WSL supports Docker. With WSL 2, which is the latest version of WSL, you can run Docker containers directly within the Linux® environment provided by WSL. This offers improved performance compared to running Docker within a virtual machine. WSL 2 also integrates with Docker Desktop, making it easier to manage and work with containers.

Can I access the Windows command-line tools within WSL?

Yes, you can access Windows command-line tools from within WSL. WSL provides interoperability between the Windows and Linux® environments, allowing you to run Windows executables and use Windows-specific commands. For example, you can execute ipconfig or regedit from within WSL to access network information or modify the Windows registry.

Can I use WSL for web development?

Absolutely, WSL is a popular choice among web developers as it provides easy access to a vast array of tools and frameworks commonly used in web development. You can install popular programming languages such as Python, Node.js, and Ruby, as well as run popular web servers and databases like Apache, Nginx, MySQL, and PostgreSQL. With WSL, you can seamlessly develop and test web applications on your Windows machine.

Does WSL support graphics processing unit (GPU) acceleration?

As of now, GPU acceleration is not natively supported within WSL. However, Microsoft has introduced a technology called DirectML, which allows machine learning workloads to leverage GPU acceleration within WSL. This enables developers to utilize GPU resources for machine learning tasks and training models. It's important to note that this capability is specific to machine learning workloads and may not be applicable to other types of applications.

Can I use WSL to develop Android™ applications?

Yes, you can use WSL for Android™ development. With WSL, you can install and configure the necessary tools for Android™ development, such as the Android™ SDK, java development kit (JDK), and Android™ Studio. This allows you to build, test, and debug Android™ applications directly on your Windows machine using the Linux® environment provided by WSL.

Is it possible to access WSL from other devices on the network?

By default, WSL is only accessible from the local machine. However, you can configure WSL to accept incoming connections from other devices on the network by enabling remote access. This allows you to access and manage your WSL instance from another computer, tablet, or mobile device connected to the same network.

Can I use WSL with multiple Linux® distributions simultaneously?

Yes, you can have multiple Linux® distributions installed and running simultaneously within WSL. Each distribution operates as a separate instance, allowing you to switch between them or run different distributions side by side. This is particularly useful if you need to work with multiple Linux® environments or test applications across different distributions.

Does WSL support graphics processing unit (GPU) passthrough for machine learning tasks?

While WSL currently does not support GPU passthrough for general use, there is ongoing development to improve GPU support in WSL. Microsoft has announced plans to bring GPU acceleration capabilities to WSL and provide better integration between the Windows and Linux® graphics subsystems, which will benefit machine learning workloads that require GPU resources.

Can I access files stored on Windows drives from WSL?

Yes, you can access and work with files stored on Windows drives directly from within WSL. Windows drives are automatically mounted in the /mnt/ directory within WSL, allowing you to navigate and manipulate files seamlessly across both environments. This enables easy sharing of files between Windows and Linux® applications.

{"pageComponentDataId":"8be139aba72e3-4860-99ca-6ba970e0d706","isAssociatedRelease":"true","pageComponentDataLangCode":"en_au","configData":{"jumpType":"currentTab","headlineColor":"black","displayNumber":"","styleMode":"vertical","miniCardHoMode":"2","headline":"","products":[{"number":{"t_id":"21kccto1wwnz5","language":{"en_nz":"21kccto1wwnz5","en_au":"21kccto1wwau5","en":""},"id":"Page4260753e-143c-43ae-bd9b-84ae5d0f0dec"}},{"number":{"t_id":"21mccto1wwnz3","language":{"en_nz":"21mccto1wwnz3","en_au":"21mccto1wwau3","en":""},"id":"Page6638705e-acca-4f80-8b27-2e84f2716f0f"}},{"number":{"t_id":"21lkcto1wwnz3","language":{"en_nz":"21lkcto1wwnz3","en_au":"21lkcto1wwau3","en":""},"id":"Page760db0cd-85b7-4d63-b8d8-e3bb500322b5"}},{"number":{"t_id":"21g2cto1wwnz3","language":{"en_nz":"21g2cto1wwnz3","en_au":"21g2cto1wwau3","en":""},"id":"Pagee12208cf-23fd-418f-9456-aae9d4ad753c"}}]},"urlPrefix":"AAAAAAAHAAAB","title":"glossary-right-blue-boxes-fragment","pageId":"e462edae-186e-4421-8743-19efc53941fa","urlEdit":0,"uri":"/FragmentDirectory/glossary/glossary-right-blue-boxes-fragment.frag","pageComponentId":"e857fdeft7e51-4b61-84dc-bccec6e68e00","tplId":"65b55929-de05-417a-a92a-ccb888d329b0","pageComponentUuid":"e857fdeft7e51-4b61-84dc-bccec6e68e00","targetUser":"0"}
coming coming
Starting at
List Price
Web Price
Web Price:
List Price
Web Price
List Price is Lenovo’s estimate of product value based on the industry data, including the prices at which first and third-party retailers and etailers have offered or valued the same or comparable products. Third-party reseller data may not be based on actual sales.
Web Price is Lenovo’s estimate of product value based on industry data, including the prices at which Lenovo and/or third-party retailers and e-tailers have offered or valued the same or comparable products. Third-party data may not be based on actual sales.
Learn More
See More
See Less
View {0} Model
View {0} Models
Part Number:
Features
See More
See Less
compare
Added!
Great choice!
You may compare up to 4 products per product category (laptops, desktops, etc). Please de-select one to add another.
View Your Comparisons
Add To Cart
Add To Cart
We're sorry,
Products are temporarily unavailable.
Continue shopping
Learn More
Coming Soon
Featured Product
Best Deals of the Day
Oops! No results found. Visit the categories above to find your product.
Save
open in new tab
© 2024 Lenovo. All rights reserved.
© {year} Lenovo. All rights reserved.
Compare  ()
x