# Install WSL

The Windows Subsystem for Linux lets developers run a GNU/Linux environment directly on Windows. The latest version is WSL 2, which powers the Windows Subsystem for Linux to run ELF64 Linux binaries on Windows.&#x20;

> List available WSL distros

```bash
$ wsl -l -o

NAME            FRIENDLY NAME
Ubuntu          Ubuntu
Debian          Debian GNU/Linux
kali-linux      Kali Linux Rolling
openSUSE-42     openSUSE Leap 42
SLES-12         SUSE Linux Enterprise Server v12
Ubuntu-16.04    Ubuntu 16.04 LTS
Ubuntu-18.04    Ubuntu 18.04 LTS
Ubuntu-20.04    Ubuntu 20.04 LTS
```

> Install WSL via `powershell`

Below command installs Ubuntu distribution.&#x20;

```bash
$ wsl --install Ubuntu
```

> Check Current WSL Version

```bash
$ wsl -l -v
```

> Update from **WSL 1** to **WSL 2**

```bash
$ wsl --set-version Ubuntu 2
```

For more information, feel free to access:&#x20;

* [WSL Documentation](https://docs.microsoft.com/en-us/windows/wsl/)
* [WSL basic commands](https://docs.microsoft.com/en-us/windows/wsl/basic-commands)&#x20;


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://appseed.gitbook.io/docs/content/how-to/install-wsl.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
