Skip to content

Instantly share code, notes, and snippets.

@gorshkov-leonid
Last active November 5, 2021 13:58
Show Gist options
  • Save gorshkov-leonid/bb9d7b299349169000bab93da65c347f to your computer and use it in GitHub Desktop.
Save gorshkov-leonid/bb9d7b299349169000bab93da65c347f to your computer and use it in GitHub Desktop.
WSL How to remove the Win10's PATH from WSL

How to remove the Win10's PATH from WSL Create or edit /etc/wsl.conf

 [interop]
 enabled=false # enable launch of Windows binaries; default is true
 appendWindowsPath=false # append Windows path to $PATH variable; default is true

then wsl --shutdown

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