- Turn off Windows Defender for Windows Subystem for Linux to speed up your command line scripting! It’s at least twice as fast!
- From @leandrw: Speeding up WSL I/O up than 5x fast + saving a lot of battery life & CPU usage:
So, to do so, first get the UbuntuOnLinux (or your distro of choice) installation path going to %USERPROFILE%\AppData\Local\Packages and lookup for something like :
Copy the entire path from Explorer.exe address bar, then go to
Settings > Update & Security > Windows Defender > Open Windows Defender Security Central > Protection Against Viruses & Threats > Advanced Config… > Exclusions > Add or Remove > Add > Folder and finally: paste the previous copied path