<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Heaurista - AI/ML and beyond on Medium]]></title>
        <description><![CDATA[Stories by Heaurista - AI/ML and beyond on Medium]]></description>
        <link>https://medium.com/@heaurista?source=rss-742b2fb53e05------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*-nNX-Mpu4tvYK1rv0IKi9A.jpeg</url>
            <title>Stories by Heaurista - AI/ML and beyond on Medium</title>
            <link>https://medium.com/@heaurista?source=rss-742b2fb53e05------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 20 Nov 2026 11:06:07 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@heaurista/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Set up your dev environment in WSL ‍‍]]></title>
            <link>https://medium.com/@heaurista/set-up-your-dev-environment-in-wsl-1c9894c174fb?source=rss-742b2fb53e05------2</link>
            <guid isPermaLink="false">https://medium.com/p/1c9894c174fb</guid>
            <category><![CDATA[ubuntu]]></category>
            <category><![CDATA[development]]></category>
            <category><![CDATA[windows]]></category>
            <category><![CDATA[wsl]]></category>
            <category><![CDATA[cli]]></category>
            <dc:creator><![CDATA[Heaurista - AI/ML and beyond]]></dc:creator>
            <pubDate>Sun, 27 Aug 2023 14:07:42 GMT</pubDate>
            <atom:updated>2023-08-27T14:07:42.951Z</atom:updated>
            <content:encoded><![CDATA[<p>Set up your dev environment in WSL 👩‍💻👨‍💻🤘</p><p>For work, I’ve found great satisfaction in using a MacBook, particularly because of homebrew🍻. So when the need arose to get a laptop for my personal projects, a MacBook seemed to be the obvious choice. However, I grappled with the cost implications while also considering the prospect of transitioning from my familiar tool stack.</p><p>That is, until I got a chance to test out Windows Subsystems for Linux.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HErzJQ_J94JeUcdIiGPZ8g.gif" /></figure><h3>PowerShell</h3><p>Don’t bother with Windows PowerShell, go straight to install PowerShell 7 instead, especially if you also need to use it for Azure: <a href="https://learn.microsoft.com/en-us/powershell/scripting/install/installing-powershell-on-windows">https://learn.microsoft.com/en-us/powershell/scripting/install/installing-powershell-on-windows</a></p><h3>WSL</h3><p>I had thought about dual booting from Linux or directly wipe the system to only use Linux, until I tried out WSL. You can easily install Ubuntu with WSL and get straight to work instead of figuring out any BIOS settings:</p><pre>wsl --install Ubuntu</pre><p>There are other useful WSL commands that you can find in <a href="https://learn.microsoft.com/en-us/windows/wsl/install">Install WSL | Microsoft Learn</a></p><h3>Docker</h3><p>I was mind blown to find out that you can install Docker on Windows, and then use it from WSL🤯! Just need to toggle it under Settings -&gt; Resources, to enable integration with WSL. 💕</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/727/1*nVM8EkrlKTXhWYGdoEIQBw.png" /></figure><p>After enabling the integration, you can see Docker is running side by side with Ubuntu on WSL:</p><pre>PS C:\Users\heaurista&gt; wsl -l -v<br>  NAME                   STATE           VERSION<br>* Ubuntu                 Running         2<br>  docker-desktop-data    Running         2<br>  docker-desktop         Running         2</pre><h3>Zsh with oh-my-zsh</h3><p>My Mac runs zsh with oh-my-zsh customizations, so it’s imperative to use the same shell and have the same familiar environment: <a href="https://dev.to/contactsunny/installing-zsh-and-oh-my-zsh-on-windows-11-with-wsl2-1p5i">Installing Zsh and Oh-my-zsh on Windows 11 with WSL2 — DEV Community</a></p><h3>Homebrew! 🍻</h3><p>🛑Install brew right after setting up the shell! I had never thought WSL supports brew so seamlessly — for all CLI based dev tools, I’ve had no issues installing any of them🤘: <a href="https://brew.sh/">Homebrew — The Missing Package Manager for macOS (or Linux)</a></p><p>And then install pretty much everything that I use daily for development on my Mac: from nvim to astro, I haven’t had any issues with the almighty brew install For a full list of formulae available, reference <a href="https://formulae.brew.sh/formula/">homebrew-core — Homebrew Formulae</a></p><h3>Caveat</h3><p>The vanilla install of WSL2 seems to have an issue with clock sync, which can be an issue when authenticating to connect to certain web clients. Refer to this SO thread for the fix: <a href="https://stackoverflow.com/questions/65086856/wsl2-clock-is-out-of-sync-with-windows">WSL2 Clock is out of sync with Windows — Stack Overflow</a></p><h3>Conclusion</h3><p>So far I’ve been really impressed with WSL — while I keep my MacBook Pro for work, I’m able to run the exact same workflow from my shiny new Windows laptop too. If you are on the same journey of converting from a Mac dev environment to Windows, I hope this helps, and I would love to hear from you any tips and tricks that you’d like to share along the way!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1c9894c174fb" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>