A portable installer pack that bootstraps a complete Windows WSL development environment from almost any starting point.
It can install or repair a developer setup automatically, including Git, SSH, GitHub CLI, terminal tooling, Docker Desktop integration checks, and optional repository scaffolding.
- Installs WSL if not already installed
- Installs a chosen Linux distribution, with Ubuntu as the default
- Configures WSL2
- Writes
%USERPROFILE%\.wslconfig - Writes
/etc/wsl.conf - Enables
systemd
Installs common developer tools, including:
- git
- curl
- wget
- gh (GitHub CLI)
- PowerShell (
pwsh) on Ubuntu - python3 / pip
- ripgrep
- fd-find
- fzf
- bat
- tree
- jq
- htop
- tmux
- zoxide
- bash-completion
Optionally configures:
- Git username and email
- SSH configuration
- SSH key generation
- GitHub SSH key upload
Optional flows include:
gh auth login- automatic SSH public key registration on GitHub
Checks for:
- Docker Desktop installation
- Docker Desktop settings presence
- WSL integration availability
- Docker CLI visibility from WSL
The pack reports findings, but does not force Docker Desktop settings changes.
Optional flows include:
- cloning any Git repository
- scaffolding a generic
.devcontainer - scaffolding
.vscode/extensions.json
Creates a ready-to-use .bashrc including:
- git branch prompt
- ssh-agent auto start
- ssh key auto load
- zoxide integration
- useful git aliases
This project is intended for:
- developer onboarding
- portable dev environment installers
- quick machine rebuilds
- WSL recovery
- reproducible local setup
This pack intentionally does not:
- install IDEs
- store credentials
- configure API keys
- install Docker Desktop automatically
- modify repositories without explicit user input
Users must complete these prerequisites themselves before running the installer:
- Windows 10 or Windows 11
- Administrator privileges
- Internet access
- BIOS or UEFI virtualization enabled if WSL2 is not already working
- Permission to reboot and sign back into the same Windows account if required
- Download the latest release ZIP.
- Extract the archive.
- Double-click
setup-wsl-dev.bat(supported entrypoint). - Follow the prompts.
Download pack
↓
Run installer
↓
Install WSL
↓
Configure Linux environment
↓
Login to GitHub CLI
↓
Upload SSH key
↓
Clone repo
↓
Start development
WSL-Dev-Pack
│
├─ setup-wsl-dev.bat
├─ setup-wsl-dev.ps1
├─ README-FIRST.md
├─ CHANGELOG.md
│
├─ templates
│ ├─ devcontainer
│ │ ├─ devcontainer.json
│ │ ├─ Dockerfile
│ │ └─ post-create.sh
│ │
│ └─ codex
│ └─ README-CODEX.md
The installer includes:
- confirmation prompts
- backups where practical
- transcript logging after elevation succeeds
- non-destructive repo scaffolding
- visible launcher failures instead of an instant close
Logs are stored in the following location after elevation succeeds:
C:\ProgramData\WSLDevPack\logs
Tested primarily with Ubuntu. Other WSL distributions may work, but are not guaranteed.
Send the pack to new contributors so they can install everything with a single script.
Bundle the pack with your project to simplify contributor setup.
Provide a consistent development environment across machines.
Use the pack to repair or recreate common WSL setups.
Contributions are welcome. Useful areas for improvement include:
- additional distro support
- devcontainer customization
- Docker Desktop validation
- IDE integrations
- CI environment support
See CONTRIBUTING.md for workflow guidance.
Please review SECURITY.md before disclosing vulnerabilities.
MIT License. See LICENSE.