<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Ayoub Belouadah</title>
    <description>The latest articles on DEV Community by Ayoub Belouadah (@astromium).</description>
    <link>https://dev.to/astromium</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F192211%2F83e0d6a1-94a2-4e47-9ba3-5730f6c324fa.jpg</url>
      <title>DEV Community: Ayoub Belouadah</title>
      <link>https://dev.to/astromium</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/astromium"/>
    <language>en</language>
    <item>
      <title>Getting Started With WSL (Windows Subsystem for Linux )</title>
      <dc:creator>Ayoub Belouadah</dc:creator>
      <pubDate>Thu, 16 Apr 2020 08:17:55 +0000</pubDate>
      <link>https://dev.to/astromium/how-to-install-wsl-windows-subsystem-for-linux-4g7k</link>
      <guid>https://dev.to/astromium/how-to-install-wsl-windows-subsystem-for-linux-4g7k</guid>
      <description>&lt;h1&gt;
  
  
  in this article we are going to cover the installation and the usage of WSL
&lt;/h1&gt;

&lt;p&gt;WSL allows you to run a real Linux environement on windows without a virtual machine&lt;br&gt;
Once you have it setup you can open the command line and start working on the file system like you are on Linux, and that's in fact on Linux and windows at the same time , you can be working on your server code on one screen while working on  Adobe Photoshop on the other screen.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;em&gt;Note: WSL works only on windows 10&lt;/em&gt;
&lt;/h2&gt;

&lt;h2&gt;
  
  
  So lets get started
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Open PowerShell as an administrator (win + x ) and run the following Commande:
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;Enable-WindowsOptionalFeature &lt;span class="nt"&gt;-Online&lt;/span&gt; &lt;span class="nt"&gt;-FeatureName&lt;/span&gt; Microsoft-Windows-Subsystem-Linux
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;Install the Linux distro of your choice , go to Microsoft Store and type &lt;strong&gt;"Linux"&lt;/strong&gt; to get the available distros&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fwindows%2Fwsl%2Fmedia%2Fstore.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fwindows%2Fwsl%2Fmedia%2Fstore.png" alt="Microsoft store"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Once the installation is complete , click on the launch button to initialize your distro
You will be prompt to create a new user account and its password&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fwindows%2Fwsl%2Fmedia%2Fubuntuinstall.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fwindows%2Fwsl%2Fmedia%2Fubuntuinstall.png" alt="Microsoft store"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Update and upgrade your distro's packages
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;sudo &lt;/span&gt;apt update &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; &lt;span class="nb"&gt;sudo &lt;/span&gt;apt upgrade
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;and that's it ! enjoy using your Linux distro on WSL , you can install all your dev tools like git, nodejs, docker and everything you need&lt;/p&gt;

&lt;p&gt;check out the awesome tutorial from &lt;a href="https://www.youtube.com/watch?v=-atblwgc63E&amp;amp;t=200s" rel="noopener noreferrer"&gt;&lt;strong&gt;Fireship youtube channel&lt;/strong&gt;&lt;/a&gt;&lt;br&gt;
and the official documentation from &lt;a href="https://docs.microsoft.com/en-us/windows/wsl/install-win10" rel="noopener noreferrer"&gt;Microsoft&lt;/a&gt;&lt;/p&gt;

</description>
      <category>wsl</category>
    </item>
  </channel>
</rss>
