okibcn/wslcompact
Compacts the size of the ever-growing WSL vhdx images. observed · 2026-08-28
Health v2 · maintenance only
53/100
- Activity 71
- Release rhythm 8
- Longevity 93
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 1312
- days_rel: n/a
- days_push: 176
- n_releases_24m: 0
Adoption not part of the score
1174 stars · 29 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A PowerShell CLI utility that safely compacts the ever-growing VHDX disk images used by WSL2 Linux distros, shrinking them to minimal size without requiring elevated credentials. It runs in info mode by default, showing current size, estimated compacted size, and processing time before any action.
Use cases
- shrink WSL2 vhdx image after deleting files
- reclaim disk space from Ubuntu WSL distro
- compact all installed WSL distro images
- check how much space a WSL image can save
- reduce ext4.vhdx file size on Windows
When to choose
- you use WSL2 on Windows and vhdx images keep growing
- you want a safe, no-admin-rights compaction tool with dry-run info mode
When to avoid
- you use WSL1 or non-Windows platforms
- you need general-purpose disk or VM image compaction beyond WSL vhdx
Facets
cli-tool · maturity active
cli compression file-system developer-tools developer-tools windows windows cli wsl wsl2 vhdx disk-cleanup powershell virtual-machine virtualization
2 sources
- readme: https://github.com/okibcn/wslcompact · fetched 2026-08-28 · 338a40c5ea52
- homepage: https://github.com/okibcn/wslcompact · fetched 2026-08-29 · c10aa43b0b5d
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| okibcn/wslcompact | main | 53 |
For agents
markdown · JSON · MCP: product_card(name="okibcn/wslcompact")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem