YoWSL

YoWSL is yet another Windows Subsystem for Linux tweaker.

The Windows 10 Fall Creators Update has a great feature called the Windows Subsystem for Linux (WSL). YoWSL enables you to register a WSL distro in an arbitrary folder using your .tar.gz archive.

This project is in the very very early stage of development.

Features

Prerequisites

```

Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux ```

Pre-built binaries

You can download pre-built binaries from the downloads page. You will need to extract a .zip archive and put yowsl.exe in your paths.

Building

If you have the Rust toolchain, you can build YoWSL with Cargo:

```

cargo install yowsl ```

Running

```

To register:

yowsl.exe register MyUbuntu -s install.tar.gz -d MyUbuntu ```

```

To launch:

yowsl.exe launch MyUbuntu ```

```

To get the configuration:

yowsl.exe get-configuration MyUbuntu [MyUbuntu] version = 1 defaultuid = 0 flags = 7 # 0b111 -> ENABLEINTEROP (1) | APPENDNTPATH (2) | ENABLEDRIVEMOUNTING (4) defaultenvironmentvalues = ["HOSTTYPE=x8664", "LANG=enUS.UTF-8", "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games", "TERM=xterm-256color"] ```

```

To set the configuration:

yowsl.exe set-configuration MyUbuntu -d 1000 ```

```

To unregister:

yowsl.exe unregister MyUbuntu ```

References

License

YoWSL is distributed under the terms of the Apache License, Version 2.0. See LICENSE-APACHE-2-0 for details.