{"id":287,"date":"2019-08-14T20:32:09","date_gmt":"2019-08-14T19:32:09","guid":{"rendered":"http:\/\/blog.balazspocze.me\/?p=287"},"modified":"2026-11-10T05:52:00","modified_gmt":"2026-11-10T05:52:00","slug":"finally-i-am-able-to-work-under-windows-with-wsl-2","status":"publish","type":"post","link":"https:\/\/banyek.net\/?p=287&lang=en","title":{"rendered":"Finally I am able to work under windows &#8211; with wsl 2"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">I have to admit that I was not able to work on windows ever.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><br> I mean I tried, but my workflow was not fit windows. I use the terminal and gnu stuff mostly, I do not use an IDE, I use vim and shell, and that is good for me.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><br> That means I could work with Linux\u2026 mostly. But all the time I tried, I hit walls as there were a VPN software I had problems to work with, or some video chat app, or an admin tool for eg. Netware, or simply the computer my employer-provided was not working with Linux, it&#8217;s battery drained super fast, or the touchpad did not work well, you name it. And I know that there are machines which has excellent Linux support, like the Dell&#8217;s XPS developer edition or some Lenovo machines, but I never had those. &#8211; I even had a year back in the early 2000s when I used FreeBSD as my main OS because the PCI modem I had money for wasn&#8217;t working good with Linux. (It wasn&#8217;t worked well under Windows tbh.)<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><br> Back in 2009 I bought my first iMac, and working on that machine was awesome! Everything worked out of the box, there was no hardware which would cause any problem, and when I had to code something, I just opened my terminal and started work in an environment, which was pretty close to a Linux experience. I needed to change a few utils for their GNU replacement, but that&#8217;s all. I was able to work on my Mac as I was able to work on my Linux box &#8211; but it was way better. Hooray.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><br> Years passed, and my main work environment became OSX, I loved it, I had a fine Macbook Air, and<a href=\"http:\/\/blog.balazspocze.me\/2015\/10\/04\/my-work-environment\/\"> everything worked as it was planned for.<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><br> One day I bought a PC for home because I wanted to play video games, and sometimes I tried to work with that, but I was not able to, as my work environment were just not fit there. I tried everything. I tried to run Virtualbox and ssh-d into that, but I hated all the terminal emulators I&#8217;ve found. It was simply inconvenient every possible way.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><br> In the meantime, my love with the Mac ended &#8211; the &#8216;new&#8217; series for MacBook pros with touch bar and crappy keyboards<a href=\"http:\/\/blog.balazspocze.me\/2018\/01\/28\/going-back-to-my-macbook-air\/\"> just killed the experience for me<\/a>. I am still working on a Mac because that is still the best option, but the love is gone.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><br> When WSL was released, I tried to use it, but it wasn&#8217;t good either. I missed locally starting my daemons such as MySQL or Docker, and it was not fit to my workflow. Of course, I was able to run my services under windows, and access them from my WSL installation, but it wasn&#8217;t good. It was a bad experience. The best thing I was able to do to spin up a cloud instance and use my WSL installation to ssh into that.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><br> When I first hear about WSL 2.0 it sounded great to me, so I decided to try it out as early as I can. I rolled into the insider program and I installed a version which had it included and started to work with.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><br> So far it is good. It provides me the Linux experience from the moment I open my terminal. All my workflows and utilities behave the same was as I was used to, and it has a seamless integration to my windows desktop.<br> `<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I have to admit that I was not able to work on windows ever. I mean I tried, but my workflow was not fit windows. I use the terminal and gnu stuff mostly, I do not use an IDE, I use vim and shell, and that is good for me. That means I could work [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[132,134],"tags":[126,138,140,130,142],"class_list":["post-287","post","type-post","status-publish","format-standard","hentry","category-me-en","category-tech-en","tag-oldblog-en","tag-shell-en","tag-windows-en","tag-work-env-en","tag-wsl-en"],"_links":{"self":[{"href":"https:\/\/banyek.net\/index.php?rest_route=\/wp\/v2\/posts\/287","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/banyek.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/banyek.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/banyek.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/banyek.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=287"}],"version-history":[{"count":1,"href":"https:\/\/banyek.net\/index.php?rest_route=\/wp\/v2\/posts\/287\/revisions"}],"predecessor-version":[{"id":405,"href":"https:\/\/banyek.net\/index.php?rest_route=\/wp\/v2\/posts\/287\/revisions\/405"}],"wp:attachment":[{"href":"https:\/\/banyek.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=287"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/banyek.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=287"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/banyek.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=287"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}