# Silently Install WSL on Windows 10 ```powershell= $ProgressPreference = 'SilentlyContinue' WslDistrib = 'https://aka.ms/wsl-debian-gnulinux' FileName = 'wsl-debian-gnulinux.appx' Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux -NoRestart Invoke-WebRequest -Uri $WslDistrib -OutFile $FileName -UseBasicParsing Add-AppxPackage $FileName ``` - Set default WSL version ```powershell wsl --set-default-version 1 ``` - List WSL Distros ```powershell wsl -l -v ``` - Install distro ```powershell wsl -s <DistributionName> ```
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up