v0.3.0
v0.3.0 Changes
- Aliases via ~/.wsl2hosts
Specifying aliases
As of v0.3 you can no specify aliases that point to your WSL2 VM IP. Having some.client.local
, may be useful in your development workflow.
To do this, create the file ~/.wsl2hosts
in your default WSL2 distro. Host names are space separated:
some.client.local my-app.local wsl.local
To upgrade:
From an elevated / Administrator console
> .\wsl2host.exe stop
> .\wsl2host.exe remove
> .\wsl2host.exe install