How to use Local with WSL2?

Is there a way to successfully use Local on WSL2, with the Local installation on the linux distro? I setup a GUI so I could login to my Linux distro (Ubuntu) via RDP in order to use the UI of the Local application, but it still doesn’t work - when generating a new site there are errors about not being able to update the hosts file. I changed the read permissions on the hosts file to see if it would help, but there were always more errors - in general it doesn’t look like Local will currently work with WSL2.

Unless - has anybody had success with this? The ideal scenario would be to install Local on a Linux distro on WSL and control everything (start / stop / create site / etc) at the command line.

2 Likes

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.