<?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 Dimitris Grigoriou on Medium]]></title>
        <description><![CDATA[Stories by Dimitris Grigoriou on Medium]]></description>
        <link>https://medium.com/@d.grigoriou?source=rss-98b47ae1e8e------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*S8Eawlv7Th5OnqHUaMJtsg.jpeg</url>
            <title>Stories by Dimitris Grigoriou on Medium</title>
            <link>https://medium.com/@d.grigoriou?source=rss-98b47ae1e8e------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 17:11:37 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@d.grigoriou/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[The Ninja console you deserve — How to install Cmder, WSL and Zsh in Windows 10]]></title>
            <link>https://medium.com/@d.grigoriou/the-ninja-console-you-deserve-how-to-install-cmder-wsl-and-zsh-in-windows-10-66eefbb22587?source=rss-98b47ae1e8e------2</link>
            <guid isPermaLink="false">https://medium.com/p/66eefbb22587</guid>
            <category><![CDATA[zsh]]></category>
            <category><![CDATA[cmder]]></category>
            <category><![CDATA[windows]]></category>
            <category><![CDATA[wslinux]]></category>
            <category><![CDATA[console]]></category>
            <dc:creator><![CDATA[Dimitris Grigoriou]]></dc:creator>
            <pubDate>Wed, 23 Sep 2020 13:34:12 GMT</pubDate>
            <atom:updated>2020-09-23T13:34:12.370Z</atom:updated>
            <content:encoded><![CDATA[<h3>The Ninja console you deserve — How to install Cmder, WSL and Zsh in Windows 10</h3><p>Being an OS enthusiast I was always drawn to the idea of having complete control over my computer’s subsystem. Popin’ the good old terminal and start working my way into the file system by installing packages, monitoring resources and checking network connections. One solution to rule them all, right?</p><p>Well, this is not always the case. Although Linux distro’s along with MacOS can give you this option, Windows 10 is not yet on the same level as the other contenders. Windows Command Prompt is below average and Powershell is still lacking some key features in order to be considered as an alternative solution. So what about the Software Engineers, DevOps, Sysadmins (the list goes on) that are out there using Windows as their main OS, missing the feeling of having a ninja console?</p><p>During thorough research, I’ve come across different tools that can be combined in order to have a decent console-like feeling, without missing key features. I am talking about <strong>Cmder</strong> and <strong>Windows Subsystem for Linux</strong> along with <strong>ZSH</strong>. Are you interested? Let’s start!</p><h3>Installation</h3><p>First things first. In order to make the magic happen, we need to enable Windows Subsystem for Linux. Open <strong>Windows Feature</strong> and check the tick-box with the name <strong>Windows Subsystem for Linux</strong>. This will allow us to run Ubuntu subsystem underneath the hood.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/900/1*Jv1Yf_tfgYAYkjU1gEjA6A.png" /></figure><p>Open <strong>Microsoft Store</strong> and download and install <strong>Ubuntu</strong>. You should get the latest LTS version available(here is 20.04).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EgGkCw_gKBz5fFm9kRSV3w.png" /></figure><p>Once installed, open Ubuntu and make any initializations needed. The console will walk you through.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jtnYQsH16ib_dcVj9R4FwQ.png" /></figure><p>Create <em>username</em>, <em>password </em>and also update the state of the subsystem through <strong>apt</strong> package manager:</p><pre>sudo apt update<br>sudo apt upgrade</pre><p>Now all we need to do, is install a nice console emulator with some time-saving key features. Enter <strong>Cmder. </strong>Basically Cmder wraps around Ubuntu’s kernel in order to make it more user friendly. If you are a Mac user you’ve probably already heard about one of the most popular alternatives, <strong>iterm2</strong>.</p><p>Go to <a href="http://cmder.net/">cmder.net</a>, download the <strong>Full </strong>zip file and extract it to a convenient location. (Mine was home folder).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bwhD3ZG3dVXz4Af6rsWGBg.png" /></figure><p>You should see the contents of the extracted file looking like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oZgBU6eCCLv0rxXmC61vng.png" /></figure><p>You can execute cmder now (I would advise creating a shortcut).</p><p>We continue by making our Ubuntu subsystem the default option of Cmder. Go to <strong>Settings</strong> → <strong>Startup</strong> → <strong>Tasks</strong>. Press <em>+ </em>button and create a new task. You can give it any name you want. I chose Ubuntu<em>::bash</em>. In the <em>Task parameters</em> input you can select an icon (I picked the Ubuntu Bash icon): /icon &quot;%USERPROFILE%\AppData\Local\lxss\bash.ico. In the <em>Commands</em> input, you should enter the command that this task executes. This is the actual call to Bash: %windir%\system32\bash.exe ~ -cur_console:p</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/888/1*KJ0LYgtVY-3fjfBwmjI25w.png" /></figure><p>Once you’ve finished the creation you have to make the task we created the default one. Go to <strong>Startup</strong> and in the <em>Specified named task</em> dropdown choose the appropriate task.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/888/1*mTb29xk2hoRfijavhNaIkw.png" /></figure><p>Now if you fire up cmder you would be able to see the Ubuntu subsystem on your screen!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0SqRzACrNuKz-UGvbwNPcA.png" /></figure><h3>Bonus: ZSH</h3><p>If you want to go the extra mile you can always install zsh on your subsystem. Z shell is a Bash based shell with plenty of features and support for plugin and themes.</p><pre>sudo apt install zsh<br>sudo apt install powerline fonts-powerline</pre><p>To configure properly zsh we need to <em>install oh my zsh.</em></p><blockquote>Oh My Zsh is a delightful, open source, community-driven framework for managing your Zsh configuration. It comes bundled with thousands of helpful functions, helpers, plugins, themes, and a few things that make you shout…”Oh My ZSH!”</blockquote><pre>git clone https://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh<br>cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc</pre><p>You can configure your .<em>zshrc</em> as you normally would in any other OS. The final step is to force the subsystem to open zsh on every startup. This step needs caution. The standard command <em>chsh</em> won’t work here. You need to add the following code at the end of your <em>.bashrc</em> file:</p><pre>if [ -t 1 ]; then<br>  exec zsh<br>fi</pre><p>That’s it, we are done! Now you can enjoy your Ninja console anywhere!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=66eefbb22587" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>