Tag: wsl

  • Finally I am able to work under windows – with wsl 2

    I have to admit that I was not able to work on windows ever.


    I mean I tried, but my workflow did 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 with Linux… mostly. But all the time I tried, I hit walls as there was VPN software I had problems working 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, its battery drained super fast, or the touchpad did not work well, you name it. And I know that there are machines that have excellent Linux support, like the Dell’s XPS developer edition or some Lenovo machines, but I never had those. – 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’t working well with Linux. (It didn’t work well under Windows tbh.)


    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 working in an environment that was pretty close to a Linux experience. I needed to change a few utils for their GNU replacement, but that’s all. I was able to work on my Mac as I was able to work on my Linux box – but it was way better. Hooray.


    Years passed, and my main work environment became OSX, I loved it, I had a fine Macbook Air, and everything worked as planned.


    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 just did not fit there. I tried everything. I tried to run Virtualbox and ssh-d into that, but I hated all the terminal emulators I’ve found. It was simply inconvenient in every possible way.


    In the meantime, my love with the Mac ended – the ‘new’ series for MacBook pros with touch bar and crappy keyboards just killed the experience for me. I am still working on a Mac because that is still the best option, but the love is gone.


    When WSL was released, I tried to use it, but it wasn’t good either. I missed locally starting my daemons such as MySQL or Docker, and it did not fit my workflow. Of course, I was able to run my services under windows, and access them from my WSL installation, but it wasn’t good. It was a bad experience. The best thing I was able to do was spin up a cloud instance and use my WSL installation to ssh into that.


    When I first heard about WSL 2.0 it sounded great to me, so I decided to try it out as early as I could. I enrolled in the insider program and I installed a version which included it and started to work with it.


    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 way I was used to, and it has a seamless integration to my windows desktop.
    `