Skip to content

Instantly share code, notes, and snippets.

@craftslab
Last active December 30, 2023 01:44
Show Gist options
  • Save craftslab/089ee7ae2ae1d7f0d33e8a1aa5a143b2 to your computer and use it in GitHub Desktop.
Save craftslab/089ee7ae2ae1d7f0d33e8a1aa5a143b2 to your computer and use it in GitHub Desktop.
wsl config

WSL Config

  • Open or create the WSL configuration file (located at %USERPROFILE%\.wslconfig), and enter the following content:
[experimental]
autoMemoryReclaim=gradual  # gradual  | dropcache | disabled
networkingMode=mirrored
dnsTunneling=true
firewall=true
autoProxy=true
  • Open the command prompt and execute wsl --shutdown

Reference

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment