Download
评估转正式
# 获取当前版本
DISM /Online /Get-CurrentEdition
# 设置为目标版本
DISM /Online /Set-Edition:ServerDatacenter /ProductKey:<productKey> /AcceptEula
OpenSSH
Get-WindowsCapability -Online | Where-Object Name -like 'OpenSSH.Server*'
Add-WindowsCapability -Online -Name OpenSSH.Server~~~~0.0.1.0
Start-Service sshd
Set-Service -Name sshd -StartupType 'Automatic'
WSL安装
# 以管理员身份运行PowerShell
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
reboot
wsl --set-default-version 2
wsl --update
wsl --install Ubuntu-24.04
Windows Terminal
# https://github.com/microsoft/microsoft-ui-xaml/releases/tag/v2.8.6
Add-AppxPackage .\Microsoft.UI.Xaml.2.8.x64.appx
# https://github.com/microsoft/terminal/releases/tag/v1.23.12371.0
Add-AppxPackage .\Microsoft.WindowsTerminal_1.23.12371.0_8wekyb3d8bbwe.msixbundle
Docker Desktop