Windows 10 19041 (Version 2004) or newer
# Docs https://docs.microsoft.com/en-us/windows/wsl/wsl2-install
# Open PowerShell with Administrator
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
# OR
Enable-WindowsOptionalFeature -Online -FeatureName $("VirtualMachinePlatform", "Microsoft-Windows-Subsystem-Linux")
# Enable Hyper-V
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All
# After enabled feature
wsl --set-default-version 2
# Check current version
wsl --list --verbose
# OR
wsl -l -v
# Optional
# Set Version
wsl --set-version <Distro> 2
https://www.microsoft.com/store/productId/9N9TNGVNDL3Q
https://www.microsoft.com/store/productId/9N0DX20HK701
# Docs https://blog.joaograssi.com/windows-subsystem-for-linux-with-oh-my-zsh-conemu/
# Install ZSH
sudo apt-get install zsh
# Install OMZ
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
# Installing missing Powerline Fonts
git clone https://github.com/powerline/fonts.git
# Run with Power Shell (Administrator)
# Set Policy
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned
cd fonts
.\install.ps1