DEV Community

Discussion on: How to get started with Web Development on Windows with the WSL in 2021

Collapse
 
pgvr profile image
Patrick Göler von Ravensburg

Uh, that's a though one, I don't think so. Only thing I can think of to write a bash script yourself which installs everything you need. You would have to set that up once, host on Github and then you can run that if you change to a new system. 🤷‍♂️

Collapse
 
hekonsek profile image
Henryk Konsek

Actually it might be possible! You can create custom WSL distribution from a Docker image - medium.com/@hoxunn/wsl-docker-cust... . So technically it should be possible to export your current distro as Docker image and re-import it.

This is theoretical take however - I didn't try it myself :) .

Great article man! Keep'em coming!