Skip to content

Commit 1c2b2b3

Browse files
committed
Update wsl-install.mdx
1 parent 68641e9 commit 1c2b2b3

File tree

1 file changed

+33
-5
lines changed

1 file changed

+33
-5
lines changed

docs/content/how-to/wsl-install.mdx

Lines changed: 33 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@ sidebar_label: WSL How to install
1010
The Windows Subsystem for Linux lets developers run a GNU/Linux environment directly on Windows.
1111
The latest version is WSL 2, which powers the Windows Subsystem for Linux to run ELF64 Linux binaries on Windows.
1212

13-
> List available WSL distros
13+
![WSL How to install - Tutorial provided by AppSeed.](https://github-production-user-asset-6210df.s3.amazonaws.com/51070104/269541668-c7ef0ff3-aad1-458b-ace6-3a189ac9ad96.jpg)
14+
15+
## ✅ List available WSL distros
1416

1517
```bash
1618
$ wsl -l -o
@@ -26,27 +28,53 @@ Ubuntu-18.04 Ubuntu 18.04 LTS
2628
Ubuntu-20.04 Ubuntu 20.04 LTS
2729
```
2830

29-
> Install WSL via `powershell`
31+
## Install WSL via `powershell`
3032

3133
Below command installs Ubuntu distribution.
3234

3335
```bash
3436
$ wsl --install Ubuntu
3537
```
3638

37-
> Check Current WSL Version
39+
## Check Current WSL Version
3840

3941
```bash
4042
$ wsl -l -v
4143
```
4244

43-
> Update from **WSL 1** to **WSL 2**
45+
## Update from **WSL 1** to **WSL 2**
4446

4547
```bash
4648
$ wsl --set-version Ubuntu 2
4749
```
4850

49-
<br />
51+
## ✅ In Summary
52+
53+
WSL stands for "Windows Subsystem for Linux." It is a compatibility layer provided by Microsoft that allows you to run a Linux distribution natively on a Windows operating system.
54+
WSL essentially enables you to use Linux command-line tools, utilities, and even run Linux applications alongside your Windows applications without the need for a separate virtual machine or dual-boot setup.
55+
56+
This is particularly useful for developers and system administrators who work in heterogeneous environments or need access to Linux tools on a Windows machine.
57+
58+
Currently, are two major versions of WSL:
59+
60+
### **WSL 1**
61+
62+
The first version of WSL is built on a translation layer that converts Linux system calls into Windows system calls.
63+
While it provides some compatibility with Linux applications, it may not offer full system call compatibility, and performance can be somewhat limited.
64+
65+
### **WSL 2**
66+
67+
The second version of WSL uses a virtualization technology called Hyper-V to provide a more complete and efficient Linux kernel experience.
68+
WSL 2 offers better performance and improved compatibility with Linux applications. It allows for running a full-fledged Linux distribution with its own kernel alongside Windows.
69+
70+
Key features and use cases of WSL include:
71+
72+
- Running Linux terminal and command-line tools within a Windows terminal.
73+
- Accessing and managing files in a Linux filesystem from Windows.
74+
- Running Linux server applications and development tools (e.g., web servers, databases, Docker) directly on Windows.
75+
- Developing cross-platform applications that need to be tested on both Windows and Linux.
76+
- Leveraging Linux package managers (e.g., apt, yum) to install and manage software packages on Windows.
77+
- WSL allows developers to use familiar Linux tools and workflows, making it easier to work with Linux-based technologies while using a Windows development environment.
5078

5179
## ✅ Resources
5280

0 commit comments

Comments
 (0)