Skip to content

Commit

Permalink
init
Browse files Browse the repository at this point in the history
  • Loading branch information
JeremyCCHsu committed Oct 1, 2020
0 parents commit 749b8e3
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
As simple as 5 steps, Windows users can now enjoy Linux command lines (and a whole subsystem) without the hassle of installing and logging to dual systems.


# Steps
1. Press Win+X, launchd PowerShell **as Administrator**
![PowerShell](etc/powershell.png)

2. Execute this: (read the manual on [Microsoft's official site](https://docs.microsoft.com/en-us/windows/wsl/install-win10) if you need to know why)
```
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
```

3. Open Microsoft Store
4. Install a Linux distribution you like (e.g., `Ubuntu`, `Ubuntu 20.04`, etc)
![Linux](etc/linux.png)

5. Voila! You can use it now!
![WSL](etc/wsl.png)


# Tips
- You can find all files in your PC under `/mnt/c`.
- External drives (e.g., SD cards) are not mounted by default.
- WSL interoperates with `cmd`. For example, you can open the current directory (`.`) with Windows File Explorer by `explorer.exe .`

Binary file added etc/linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added etc/powershell.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added etc/wsl.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 749b8e3

Please sign in to comment.