Skip to content

davehasagithub/slidewsl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SlideWSL

The Simple Linux Interface for DEveloping on WSL (Slide Whistle!)

SlideWSL allows you to set up a WSL2 environment using a single DOS batch file that runs from CMD without user interaction.

This works because simple shell scripts and various assets are encoded into base64 chunks that become a series of variables in the lone batch file. These can then be decoded to reconstitute everything needed to provision the WSL2 distro. (Interaction may be required to confirm overwriting an existing distro and for Windows UAC popups.)

A sparse virtual hard disk image is mounted into the instance (using qemu-img in the qcow2 format); this can be disconnected, backed up, the WSL2 instance rebuilt, and then reattached without loss of project files.

Also see NOTES and CHANGELOG.

Warning

This is experimental. Use at your own risk.

Install

To quickly download the latest batch file, you can run this from CMD:

powershell iwr -uri "https://raw.githubusercontent.com/davehasagithub/slidewsl/master/dist/getslidewsl.bat" -outfile getslidewsl.bat

Requirements

Usage

getslidewsl.bat <username> <password>

About

Set up a WSL2 environment using a single DOS batch file.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published