docs/development/setup/wsl-rebuild.md
If you ever want to recreate your development environment again from scratch (e.g., to test a change you've made to the provisioning process, or because you think something is broken), you can do so using the following steps:
$ wsl --list --verbose
If you are unsure about which distribution to unregister, you can log into the WSL distributions to ensure you are deleting the one containing your development environment using the command:
wsl -d <Distribution Name>
$ wsl --unregister <Distribution Name>
For more information, checkout the official documentation for WSL commands
If you just want to rebuild the development database, the following is much faster:
$ ./tools/rebuild-dev-database
For more details, see the schema migration documentation.