{"id":4705,"date":"2022-10-14T09:43:37","date_gmt":"2022-10-14T15:43:37","guid":{"rendered":"https:\/\/cnsit.colostate.edu\/kb\/?p=4705"},"modified":"2022-10-14T09:43:37","modified_gmt":"2022-10-14T15:43:37","slug":"wsl-windows-subsystem-for-linux","status":"publish","type":"post","link":"https:\/\/cnsit.colostate.edu\/kb\/wsl-windows-subsystem-for-linux\/","title":{"rendered":"WSL &#8211; Windows Subsystem for Linux"},"content":{"rendered":"\n<h3 class=\"wp-block-heading\" id=\"what-is-windows-subsystem-for-linux--wsl--\">What is Windows Subsystem for Linux (WSL)?<\/h3>\n\n\n\n<p>The Windows Subsystem for Linux (WSL) is a feature of the Windows operating system that enables you to run a Linux file system, along with Linux command-line tools and GUI apps, directly on Windows, alongside your traditional Windows desktop and apps.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"who-is-wsl-for-\"><a href=\"https:\/\/learn.microsoft.com\/en-us\/windows\/wsl\/faq#who-is-wsl-for-\"><\/a>Who is WSL for?<\/h3>\n\n\n\n<p>This is primarily a tool for developers, especially web developers, those working on open source projects, or deploying to Linux server environments. WSL is for anyone who likes using Bash, common Linux tools (<code>sed<\/code>,&nbsp;<code>awk<\/code>, etc.) and Linux-first frameworks (Ruby, Python, etc.) but also enjoys using Windows productivity tools<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"what-can-i-do-with-wsl-\"><a href=\"https:\/\/learn.microsoft.com\/en-us\/windows\/wsl\/faq#what-can-i-do-with-wsl-\"><\/a>What can I do with WSL?<\/h3>\n\n\n\n<p>WSL enables you to run Linux in a Bash shell with your choice of distribution (Ubuntu, Debian, OpenSUSE, Kali, Alpine, etc). Using Bash, you can run command-line Linux tools and apps. For example, type&nbsp;<code>lsb_release -a<\/code>&nbsp;and hit enter; you\u2019ll see details of the Linux distro currently running:<\/p>\n\n\n\n<p>You can also access your local machine\u2019s file system from within the Linux Bash shell \u2013 you\u2019ll find your local drives mounted under the\u00a0<code>\/mnt<\/code>\u00a0folder. For example, your\u00a0<code>C:<\/code>\u00a0drive is mounted under\u00a0<code>\/mnt\/c<\/code>:<\/p>\n\n\n\n<p class=\"has-pale-cyan-blue-background-color has-background\">Citation and additional information: <a href=\"https:\/\/learn.microsoft.com\/en-us\/windows\/wsl\/faq\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/learn.microsoft.com\/en-us\/windows\/wsl\/faq<\/a><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">How to Enable WSL<\/h3>\n\n\n\n<p>The first step for using WSL is to enable the proper feature in Windows.  To do so, you can follow these directions: <a href=\"https:\/\/www.makeuseof.com\/enable-windows-subsystem-for-linux\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/www.makeuseof.com\/enable-windows-subsystem-for-linux<\/a><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Now What?<\/h3>\n\n\n\n<p>From here you will need to install a Linux distribution.  By far the easiest I have found is through Ubuntu which makes its distribution available to WSL users through the Microsoft Store for free.  Check out this link with detailed instructions: <a href=\"https:\/\/ubuntu.com\/wsl\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/ubuntu.com\/wsl<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>What is Windows Subsystem for Linux (WSL)? The Windows Subsystem for Linux (WSL) is a feature of the Windows operating system that enables you to run a Linux file system, along with Linux command-line tools and GUI apps, directly on Windows, alongside your traditional Windows desktop and apps. Who is WSL for? This is primarily [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":4707,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[14],"tags":[],"class_list":["post-4705","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tips-and-tricks"],"_links":{"self":[{"href":"https:\/\/cnsit.colostate.edu\/kb\/wp-json\/wp\/v2\/posts\/4705","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cnsit.colostate.edu\/kb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cnsit.colostate.edu\/kb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cnsit.colostate.edu\/kb\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/cnsit.colostate.edu\/kb\/wp-json\/wp\/v2\/comments?post=4705"}],"version-history":[{"count":2,"href":"https:\/\/cnsit.colostate.edu\/kb\/wp-json\/wp\/v2\/posts\/4705\/revisions"}],"predecessor-version":[{"id":4708,"href":"https:\/\/cnsit.colostate.edu\/kb\/wp-json\/wp\/v2\/posts\/4705\/revisions\/4708"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/cnsit.colostate.edu\/kb\/wp-json\/wp\/v2\/media\/4707"}],"wp:attachment":[{"href":"https:\/\/cnsit.colostate.edu\/kb\/wp-json\/wp\/v2\/media?parent=4705"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cnsit.colostate.edu\/kb\/wp-json\/wp\/v2\/categories?post=4705"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cnsit.colostate.edu\/kb\/wp-json\/wp\/v2\/tags?post=4705"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}