Adding a windows installed application to WSL path so we can run from Ubuntu wsl: Install app on Windows. Find the applications path to the folder where the executable file (app.exe) is located copy the path. on WSL, go to the root folder where .bashrc is located nano .bashrc scroll to the end of file and add the path & alias using the format below export PATH="$PATH:/mnt/c/Program Files/Amazon/AWSCLIV2" alias aws='aws.exe' save apply changes by run source command below source ~/.bashrc Now, you should be able to run the application from anywhere in the WSL terminal1) Run PowerShell as administrator 2) Paste this command: Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux 3) Restart your PC 4) Run PowerShell as administrator again 5) Paste these two commands: dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart 6) Restart your PC Again 7) Download the Linux Kernel Update Package from https://wslstorestorage.blob.core.windows.net/wslblob/wsl_update_x64.msi 8) Then, run powershell as administrator again and paste this command: wsl --set-default-version 2 9) Install a distro of your choice from the Microsoft Store (Example Ubuntu, Kali Linux) OR: Run this command: wsl --install NOTE: To Run this command given above, you must be running Windows 10 version 2004 and higher (Build 19041 and higher) or Windows 11. Also, running this command installs Ubuntu by default.# go into some folder into which you want the file to be downloaded cd <somefolder> # download Ubuntu 20.04 Invoke-WebRequest -Uri https://aka.ms/wslubuntu2004 -OutFile Ubuntu.appx -UseBasicParsing # install downloaded *.appx file Add-AppxPackage .\Ubuntu.appx wsl --list --verbose wsl --set-version Ubuntu-20.04 2# go into some folder into which you want the file to be downloaded cd <somefolder> # download Ubuntu 20.04 Invoke-WebRequest -Uri https://aka.ms/wslubuntu2004 -OutFile Ubuntu.appx -UseBasicParsing # install downloaded *.appx file Add-AppxPackage .\Ubuntu.appxwsl --installwsl.exe --install wsl --set-default-version 2 dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart Jfugex