Windows Subsystem for Linux: Difference between revisions

Cheatsheet: change heading
Add shortcut instructions in TLDR; and also reference to Docker docs on WSL
 
Line 3: Line 3:


Like all things Windows, WSL is an executable binary c:\WINDOWS\system32\wsl.exe
Like all things Windows, WSL is an executable binary c:\WINDOWS\system32\wsl.exe
==TLDR==
To get to a Linux command prompt fast, just open a PowerShell window (<kbd class="keyboard-key nowrap">⊞</kbd>+<kbd class="keyboard-key nowrap">R</kbd> type <code>powershell</code> <kbd class="keyboard-key nowrap">↵</kbd>) and type <code>wsl</code><kbd class="keyboard-key nowrap">↵</kbd> to launch an interactive shell in the default Linux container for your local environment.


==Prerequisites==
==Prerequisites==
To install WSL on Windows, you have one requirement to meet; you must have a Windows 10 64-bit computer Build 18917 '''or later'''.
To install WSL on Windows, you have one requirement to meet; you must have a Windows 10 64-bit computer Build 18917 '''or later'''.


Press the '[[wp:Windows key|windows' key]] <kbd>⊞ Win</kbd> and type <code>winver</code> to run the Windows Version utility in order to see your current Windows version.
Press the '[[wp:Windows key|windows' key]] <kbd>⊞</kbd> and type <code>winver</code> to run the Windows Version utility in order to see your current Windows version.
 
==See Also ==
https://docs.docker.com/desktop/troubleshoot/topics/#working-with-git-bash


== WSL Cheatsheet ==
== WSL Cheatsheet ==