# CentWSL **Repository Path**: lanyue52011/CentWSL ## Basic Information - **Project Name**: CentWSL - **Description**: No description available - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-07-09 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # CentWSL CentOS on WSL (Windows 10 FCU or later) based on [wsldl](https://github.com/yuk7/wsldl) ![screenshot](https://raw.githubusercontent.com/wiki/yuk7/wsldl/img/Cent_Arch_Alpine.png) [![Build Status](https://img.shields.io/travis/yuk7/CentWSL.svg?style=flat-square)](https://travis-ci.org/yuk7/CentWSL) [![Github All Releases](https://img.shields.io/github/downloads/yuk7/CentWSL/total.svg?style=flat-square)](https://github.com/yuk7/CentWSL/releases) [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com) ![License](https://img.shields.io/github/license/yuk7/CentWSL.svg?style=flat-square) ### [Download](https://github.com/yuk7/CentWSL/releases) ## Requirements * Windows 10 Fall Creators Update x64 or later. * Windows Subsystem for Linux feature is enabled. ## Install #### 1. [Download](https://github.com/yuk7/CentWSL/releases) installer zip #### 2. Extract all files in zip file to same directory #### 3.Run CentOS.exe to Extract rootfs and Register to WSL Exe filename is using to the instance name to register. If you rename it you can register with a diffrent name and have multiple installs. ## How-to-Use(for Installed Instance) #### exe Usage ```dos Usage : - Open a new shell with your default settings. run - Run the given command line in that distro. Inherit current directory. runp - Run the path translated command line in that distro. config [setting [value]] - `--default-user `: Set the default user for this distro to - `--default-uid `: Set the default user uid for this distro to - `--append-path `: Switch of Append Windows PATH to $PATH - `--mount-drive `: Switch of Mount drives get [setting] - `--default-uid`: Get the default user uid in this distro - `--append-path`: Get on/off status of Append Windows PATH to $PATH - `--mount-drive`: Get on/off status of Mount drives - `--lxguid`: Get WSL GUID key for this distro backup [contents] - `--tgz`: Output backup.tar.gz to the current directory using tar command - `--reg`: Output settings registry file to the current directory clean - Uninstall the distro. help - Print this usage message. ``` #### How to uninstall instance ```dos >CentOS.exe clean ```