Windows Subsystem for Linux (WSL)

Topics: Windows

WSL runs Linux distributions and command-line tools alongside Windows; /etc/wsl.conf controls integration, including whether Windows paths are added to Linux $PATH.

Disable path extension

To disable automatic addition of Windows paths to $PATH, add this section to /etc/wsl.conf:

[automount]
appendWindowsPath = false

Troubleshooting