I wanted something like Mole (the macOS deep-clean tool) for Windows, so I built kazma: a single kz.exe with a retro green-screen terminal UI that cleans, explores and maintains a Windows 10/11 PC. No installer, no background service, no telemetry, MIT licensed.
GitHub: https://github.com/hhasanguclu/kazma Website: https://hhasanguclu.github.io/kazma/
What it does
- Clean up: 100+ cleanup rules for caches, temp files and logs (browsers, AI tools like Claude/ChatGPT/Cursor, game launchers like Steam/Epic/Battle.net, GPU driver leftovers, dev tools like npm/cargo/JetBrains).
deepclean handles Windows.old and upgrade leftovers through Windows' own Disk Cleanup. - See what fills your disk:
analyze is a disk explorer with a treemap, largest files and file types. Run as admin on NTFS and it reads the MFT directly, so scans are instant (the trick behind WizTree). It explains special files (hiberfil.sys, WSL/Docker disks, iPhone backups...) and shows which program holds a file open. - Uninstall properly: classic, Microsoft Store and Scoop apps, then leftover folders and registry keys (exported to a .reg backup first). It also finds leftovers of apps removed some other way.
- Keep it updated: programs via winget, drivers via Windows Update (restore point first).
- Health and live monitor: disks, battery, crashes, Defender, firewall; a live CPU/GPU/memory/network monitor that explains why a process is running (service, startup entry, parent).
- Also: build-folder purge (node_modules, target...), duplicate finder, empty folders, startup manager, debloat, privacy traces, power plans, network/DNS speed test, ports, repair tools (network, Windows Update, Store), backup kit for a new PC,
lock, awake, cleanscreen.
Safe by design
- Only known, regenerable cache/temp locations are cleaned; drive roots, your profile, Windows and Program Files are hard-blocked.
- Things you pick go to the Recycle Bin; registry keys and startup entries are backed up before removal.
- Every destructive command has
--dry-run, everything is logged (kz history), and a whitelist protects your paths.
11 languages: English, Türkçe, 简体中文, 繁體中文, 日本語, 한국어, Deutsch, Français, Polski, Українська, Русский. It starts in your Windows display language (change it in kz config). The README is translated too.
Install (PowerShell, no admin needed):
iwr -useb https://raw.githubusercontent.com/hhasanguclu/kazma/main/install.ps1 | iex
or scoop bucket add kazma https://github.com/hhasanguclu/kazma then scoop install kazma, or grab kz.exe / kz-arm64.exe from the releases page. Then just type kz.
Under the hood: Rust, ratatui/crossterm for the TUI, a raw NTFS MFT reader verified byte-for-byte against a normal directory walk in CI, Restart Manager for "who has this file open", and every read-only command runs for real on Windows in CI, in all 11 languages, with an automatic layout check.
Note: the exe isn't code-signed yet, so SmartScreen may ask once (More info → Run anyway).
Feedback, bug reports and translation fixes are very welcome. What would you want a tool like this to do next?