A simple CLI tool to reclaim space on your Windows C: drive safely.
It checks SSD health, tracks down bloat (dev tools, AI models, package caches, game stores), and helps you either delete it or move it to another drive — with an interactive terminal menu and built-in safety checks.
Built after a full boot SSD (2.7% free space) caused 1.5-second disk read freezes and triggered a Windows 0x1E_C0000006 (nt!HvpGetCellPaged) blue screen.
git clone https://github.com/ricardoborges/DiskTriage.git
cd DiskTriage
# Install dependencies and the `disktriage` CLI
pip install -e .
Run it:
disktriage
Tip: Run PowerShell as Administrator to see physical SSD read/write latency counters via
Get-StorageReliabilityCounter.
pip, npm, cargo, docker, huggingface, pyenv, gradle, steam, etc.).AppData.D:) and update user environment variable in registry (HKCU\Environment).mklink /J), keeping full tracking and 1-click rollback.[!TIP] Relocate Package Caches & Auto-Update Environment Variables:
You can easily move bulky package caches (such aspip,npm,cargo, orhuggingface) from your system drive to a secondary drive (likeD:) to free up gigabytes onC:. When using the Move + Env Var option, DiskTriage safely transfers the directory and automatically updates the corresponding Windows user environment variable (HKCU\Environment) with the new path—ensuring your development tools keep working seamlessly without manual configuration.
disktriage # Interactive menu (arrow keys + Enter)
disktriage --health # Health check only (space, latency, BSODs)
disktriage --scan --drive D # Auto-scan and suggest D: as target drive
disktriage --min-gb 1.0 # Only show items larger than 1 GB
disktriage --lang pt-BR # Force Portuguese (Brasil)
disktriage --lang en-US # Force English (US)
DiskTriage supports Português (Brasil) (default) and English (US).
Option 9) or by passing the --lang <codecode> CLI parameter.WinSxS, System32, Windows\Installer, and Program Files are strictly blocked.robocopy with pre-flight destination free space checks. Source files are only removed after the copy verifies successfully.GPL-3.0
15 commits
Python
84.1%
PowerShell
15.9%
A simple CLI tool to reclaim space on your Windows C: drive safely.
It checks SSD health, tracks down bloat (dev tools, AI models, package caches, game stores), and helps you either delete it or move it to another drive — with an interactive terminal menu and built-in safety checks.
Built after a full boot SSD (2.7% free space) caused 1.5-second disk read freezes and triggered a Windows 0x1E_C0000006 (nt!HvpGetCellPaged) blue screen.
git clone https://github.com/ricardoborges/DiskTriage.git
cd DiskTriage
# Install dependencies and the `disktriage` CLI
pip install -e .
Run it:
disktriage
Tip: Run PowerShell as Administrator to see physical SSD read/write latency counters via
Get-StorageReliabilityCounter.
pip, npm, cargo, docker, huggingface, pyenv, gradle, steam, etc.).AppData.D:) and update user environment variable in registry (HKCU\Environment).mklink /J), keeping full tracking and 1-click rollback.[!TIP] Relocate Package Caches & Auto-Update Environment Variables:
You can easily move bulky package caches (such aspip,npm,cargo, orhuggingface) from your system drive to a secondary drive (likeD:) to free up gigabytes onC:. When using the Move + Env Var option, DiskTriage safely transfers the directory and automatically updates the corresponding Windows user environment variable (HKCU\Environment) with the new path—ensuring your development tools keep working seamlessly without manual configuration.
disktriage # Interactive menu (arrow keys + Enter)
disktriage --health # Health check only (space, latency, BSODs)
disktriage --scan --drive D # Auto-scan and suggest D: as target drive
disktriage --min-gb 1.0 # Only show items larger than 1 GB
disktriage --lang pt-BR # Force Portuguese (Brasil)
disktriage --lang en-US # Force English (US)
DiskTriage supports Português (Brasil) (default) and English (US).
Option 9) or by passing the --lang <codecode> CLI parameter.WinSxS, System32, Windows\Installer, and Program Files are strictly blocked.robocopy with pre-flight destination free space checks. Source files are only removed after the copy verifies successfully.GPL-3.0
15 commits
Python
84.1%
PowerShell
15.9%