Windows: AI tool caches on C:\ — paths and safe cleanup

Paths (Windows)

ToolPath
Cursor / VS Code%APPDATA%\Cursor, %APPDATA%\Code
Ollama%USERPROFILE%\.ollama
Hugging Face%USERPROFILE%\.cache\huggingface
pip%LOCALAPPDATA%\pip\cache
npm/npx%LOCALAPPDATA%\npm-cache (or ~\AppData\Roaming\npm-cache)
Docker Desktop%LOCALAPPDATA%\Docker\wsl\data\ext4.vhdx

Cleanup (PowerShell)

npm cache clean --force
pip cache purge
wsl --shutdown   # before compacting the Docker vhdx
Compacting the vhdx: Optimize-VHD -Path ... -Mode Full (Hyper-V module) or diskpart compact vdisk.

One-click alternatives

Don't want to touch the terminal? These do it safely (paid):

CleanMyMac (macOS) — free scan DaisyDisk (macOS) CCleaner (Win/Mac)

Sponsored links. We only list tools we'd run ourselves.