I would recommend using WSL2, for sure! (and @NateDhaliwal link is perfect for that)
You can also try Install Discourse for development using Docker but I personally use @NateDhaliwal’s suggestion.
Doing this without Docker results is a faster local install, but it’s more maintenance.