3 ms·
Well, the switch takes about five minutes. It’s just wsl -—set-version <distro> 2.
by easton 6y ago
Well, the switch takes about five minutes.
It’s just wsl -—set-version <distro> 2.
- vbsteven 6y agoYes I know, but I currently have a good setup with WSL1 where my code lives on my Windows disk, IntelliJ runs on Windows and I use WSL for terminal tools like git/zsh/tmux/terraform/kubectl etc. Just switching this setup verbatim to WSL2 will most likely lead to performance problems on file I/O from WSL to the windows disk (due to the architectural changes from WSL1 to 2). File I/O within WSL became faster, but crossing the boundary is more expensive making tools like git unusable when the code lives on the windows side. I could move the code to the WSL side but then every IntelliJ I/O operation needs to cross the "slow" boundary. Unless I also switch IntelliJ to WSL so it will probably take some experimentation before I arrive at a proper WSL2 setup that satisfies my needs.