checking version of wsl code example Example: wsl version wsl --list --verbose wsl --set-version <distribution name> <versionNumber>