|
| 1 | +# ParrotWSL |
| 2 | +Parrot Security OS on WSL (Windows 10 FCU or later) |
| 3 | +based on [wsldl](https://github.com/yuk7/wsldl) |
| 4 | + |
| 5 | + |
| 6 | + |
| 7 | +[](https://circleci.com/gh/yosukes-dev/ParrotWSL) |
| 8 | +[](https://github.com/yosukes-dev/ParrotWSL/releases) |
| 9 | +[](http://makeapullrequest.com) |
| 10 | + |
| 11 | + |
| 12 | +### [Download](https://github.com/yosukes-dev/ParrotWSL/releases) |
| 13 | + |
| 14 | + |
| 15 | +## Requirements |
| 16 | +* Windows 10 Fall Creators Update x64 or later. (Testing with build 19631) |
| 17 | +* Windows Subsystem for Linux feature is enabled. |
| 18 | + |
| 19 | +## Install |
| 20 | +#### 1. [Download](https://github.com/yosukes-dev/ParrotWSL/releases) installer zip |
| 21 | + |
| 22 | +#### 2. Extract all files in zip file to same directory |
| 23 | + |
| 24 | +#### 3.Run Parrot.exe to Extract rootfs and Register to WSL |
| 25 | +Exe filename is using to the instance name to register. |
| 26 | +If you rename it you can register with a diffrent name and have multiple installs. |
| 27 | + |
| 28 | +## How-to-Use(for Installed Instance) |
| 29 | +#### exe Usage |
| 30 | +```dos |
| 31 | +Usage : |
| 32 | + <no args> |
| 33 | + - Open a new shell with your default settings. |
| 34 | +
|
| 35 | + run <command line> |
| 36 | + - Run the given command line in that distro. Inherit current directory. |
| 37 | +
|
| 38 | + runp <command line (includes windows path)> |
| 39 | + - Run the path translated command line in that distro. |
| 40 | +
|
| 41 | + config [setting [value]] |
| 42 | + - `--default-user <user>`: Set the default user for this distro to <user> |
| 43 | + - `--default-uid <uid>`: Set the default user uid for this distro to <uid> |
| 44 | + - `--append-path <on|off>`: Switch of Append Windows PATH to $PATH |
| 45 | + - `--mount-drive <on|off>`: Switch of Mount drives |
| 46 | +
|
| 47 | + get [setting] |
| 48 | + - `--default-uid`: Get the default user uid in this distro |
| 49 | + - `--append-path`: Get on/off status of Append Windows PATH to $PATH |
| 50 | + - `--mount-drive`: Get on/off status of Mount drives |
| 51 | + - `--lxguid`: Get WSL GUID key for this distro |
| 52 | +
|
| 53 | + backup [contents] |
| 54 | + - `--tgz`: Output backup.tar.gz to the current directory using tar command |
| 55 | + - `--reg`: Output settings registry file to the current directory |
| 56 | +
|
| 57 | + clean |
| 58 | + - Uninstall the distro. |
| 59 | +
|
| 60 | + help |
| 61 | + - Print this usage message. |
| 62 | +``` |
| 63 | + |
| 64 | +#### How to uninstall instance |
| 65 | +```dos |
| 66 | +>Parrot.exe clean |
| 67 | +
|
| 68 | +``` |
0 commit comments