Align Windows 11 and 10 WSL installation #483
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Starting from Windows 10 2004 (May 2020 Update), WSL 2 is the default version of WSL. The instructions for installing WSL 2 are now the same for both Windows 10 and Windows 11.
Adapted the instructions as such, to have a common installation process.
This will:
For this we now run
wsl --install
in the Windows Command Prompt (cmd) instead of Windows Terminal (wt, for Windows 11) or PowerShell (for Windows 10).For troubleshooting reasons, the instructions for Windows 10 < 2004 are kept in details, just in case.
Adapted EN, FR, ES, PT.
Additionally, added a check that students have their proper account and are not on
root
. (Quite common and painful to resolve if only discovered at the end.)