<?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: ComCl7</title>
    <description>The latest articles on DEV Community by ComCl7 (@comcl7).</description>
    <link>https://dev.to/comcl7</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4111550%2Fd801d628-30cf-45e1-a0d7-d3f54e2eab83.gif</url>
      <title>DEV Community: ComCl7</title>
      <link>https://dev.to/comcl7</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/comcl7"/>
    <language>en</language>
    <item>
      <title>Exploring WSL on Windows</title>
      <dc:creator>ComCl7</dc:creator>
      <pubDate>Fri, 16 Oct 2026 09:25:24 +0000</pubDate>
      <link>https://dev.to/comcl7/exploring-wsl-on-windows-3a3m</link>
      <guid>https://dev.to/comcl7/exploring-wsl-on-windows-3a3m</guid>
      <description>&lt;p&gt;Hi together,&lt;/p&gt;

&lt;p&gt;when using Windows and writing IaC, you are almost in need to install a linux emulation as some of needed binarys like ansible.&lt;br&gt;
Or, as it comes to me personally, I like to work in a linux environment to use some advantages as easy to use package manager.&lt;/p&gt;

&lt;p&gt;In this article, I don't really want to go into every detail and just want to show you:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;How to install WSL and a Distro&lt;/li&gt;
&lt;li&gt;Reset your Distro, if you want to start over.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Install WSL and Distro
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Open your command line (cmd or powershell)&lt;/li&gt;
&lt;li&gt;Type &lt;code&gt;wls --install&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Accept User Access Control request, if necessary&lt;/li&gt;
&lt;li&gt;Wait for installation&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fgz2edjrn9hoo4421og1w.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fgz2edjrn9hoo4421og1w.png" alt="Install WSL" width="745" height="176"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Now type in &lt;code&gt;wsl&lt;/code&gt; to install default distro (in my case ubuntu) and type in a username, password and set metrics.
After that, the distro should be installed succesfully&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F7r7yvwq72mzghlhgmfsh.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F7r7yvwq72mzghlhgmfsh.png" alt="Configure Ubuntu" width="800" height="230"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;To get out, you can type &lt;code&gt;exit&lt;/code&gt; and enter&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  List distro's
&lt;/h2&gt;

&lt;p&gt;You can list your distro' using &lt;code&gt;wsl -l&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fknqdvenee7gd5pcx1u7u.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fknqdvenee7gd5pcx1u7u.png" alt="WSLK List Distro's" width="552" height="211"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Remove distro
&lt;/h2&gt;

&lt;p&gt;Sometimes you need to delete the distro, for example if you need a new environment if you want to start over again after something went wrong.&lt;/p&gt;

&lt;p&gt;To do this, you can just open your command line and type &lt;code&gt;wsl --unregister ubuntu&lt;/code&gt; (instead of Ubuntu, you can type your distro used)&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F9b70xm517hghhoglj8us.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F9b70xm517hghhoglj8us.png" alt="WSL Remove Distros" width="475" height="162"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>linux</category>
      <category>microsoft</category>
      <category>infrastructureascode</category>
      <category>ansible</category>
    </item>
  </channel>
</rss>
