howto use Ubuntu and Windows simultaneously, in 2022

Nikita Koselev - May 28 '22 - - Dev Community

My relationship with Windows has been love&hate for ages.

Windows is quite good at having a huge ecosystem, but it is quite different from the target machines.

Just think of it - developers have to develop using machines with an architecture that differs a lot from production.
I do understand we have containers & stuff, but still, simplicity is something I am fond of.

However, there is a light shining at the end of the tunnel. And it is not a train.

It is fully possible to run Ubuntu natively on your Windows 10 and up.
You can:
install Ubuntu using WSL (Windows Subsystem for Linux)
checkout a OSS project from github
generate SSH key on Windows side
provide Ubuntu with public SSH key from Windows
point your IDE (Intellij Ultimate, VSC) to localhost:22
Now you have a fully running:
your favourite IDE in Windows
your code in Ubuntu
SSH terminal in your IDE, with full access to the Ubuntu

@antonarhipov - that is so cool. Please tell the department, responsible for that IntelliJ-WSL connectivity that they deserve ALL THE COOKIES IN THE WORLD.

Image description

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .