Align Windows 11 and 10 WSL installation#483
Merged
Conversation
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: - make the setup easier for remaining Windows 10 users, - reduce the number of cases where Windows 11 users started following the Windows 10 instructions by mistake, - make it easier to maintain the instructions in the future, - make it easy to remove the Windows 10 instructions later. 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.
ajdubovoy
approved these changes
Apr 7, 2025
Contributor
ajdubovoy
left a comment
There was a problem hiding this comment.
Hard for me to test myself but I gave this a read through and all seems ok!
Contributor
Author
|
@Eschults Would you or anyone in your team want to have a look at this one? Main goal: simplify happy route of setup on Windows (11, and 10 for the remaining life of it). Would be great to merge before the weekend with a bunch of Europe time zone batches starting next Monday. |
Member
|
Great work @julesvanrie 🙌 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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 --installin 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.)