Safe Windows Cache & Junk Cleaner
CleanCLI is a lightweight Windows Batch utility built to safely remove unnecessary cache, temp, junk, and rebuildable files from Windows PCs without touching personal files, source code, or project folders.
- Download or clone this repository.
- Right-click the batch script and choose Run as administrator.
- Select the cleaning mode you want from the menu.
- Review the output and run only the sections you actually need.
This project is open, readable, and user-controlled. It is not malware, not a hidden cleaner, and not a random unsafe script.
CleanCLI is a .bat-based Windows cleaner for users who want a simple, transparent way to recover disk space from safe-to-remove cache and junk files.
It focuses on locations that commonly grow over time on Windows systems, especially on the C: drive, including temporary files, update leftovers, app caches, developer caches, and AI/model caches that can usually be rebuilt when needed.
This project was created for users whose Windows PCs, especially the C: drive, keep filling up with unnecessary cache, junk, app leftovers, developer files, AI model cache, and temporary system files, and who want a simple, safe, transparent cleaner they can inspect and run themselves.
Many cleaner tools are heavy, unclear about what they remove, bundled with unnecessary extras, or too aggressive. CleanCLI takes the opposite approach:
- Simple
- Inspectable
- Focused on safe cleanup targets
- Designed to stay under user control
- Regular Windows users who need a quick cleanup tool
- Developers who accumulate package and build caches
- Students using lower-storage laptops or shared PCs
- Users whose
C:drive fills up often - Anyone who wants a simple cleaner without installing heavy software
Daily Safe Cleanfor common junk and temporary filesDeveloper Cache Cleanfor common development cachesAI / Model Cache Cleanfor local model and inference tool cachesApp Cache Cleanfor selected desktop app cache locationsFull Deep Cleanfor running all supported cleanup groups togetherShow Free Spaceto check available disk space onC:Open Windows Storage Settingsfor native Windows storage toolsOpen Disk Cleanupfor built-in Windows cleanup access- Batch-script based, with no background services or hidden processes
- Fully readable and easy to audit before running
CleanCLI currently targets safe-to-remove or rebuildable files such as:
- User temp files
- Windows temp files
- Crash dumps
- Thumbnail cache
- Recycle Bin contents
- Windows Update cache
pipcachenpmcache- Gradle cache
- Hugging Face cache
- Ollama cache
- InsightFace cache
- Discord cache
- CapCut cache
- Roblox cache
CleanCLI is designed to avoid personal and project-critical data. It does not intentionally delete:
- Desktop files
- Downloads
- Documents
- Photos and videos
- Personal files
- Source code
- Project folders
This project is built around clearing cache and rebuildable junk, not user data.
- Save the batch file to your PC.
- Right-click it and run it as Administrator.
- Choose one of the menu options:
1Daily Safe Clean2Developer Cache Clean3AI / Model Cache Clean4App Cache Clean5Full Deep Clean6Show Free Space7Open Storage Settings8Open Disk Cleanup
- Let the script finish, then review available free space if needed.
- Use
Daily Safe Cleanfor routine maintenance - Use
Developer Cache Cleanonly if you actively use Python, Node.js, or Gradle - Use
AI / Model Cache Cleanonly if you use local AI/model tools and want to reclaim storage - Use
App Cache Cleanwhen Discord, CapCut, or Roblox caches grow too large - Use
Full Deep Cleanwhen yourC:drive is under pressure and you understand the selected caches may need to rebuild later
- You can read the script yourself
- There are no hidden background processes
- There is no forced install
- There is no bundled bloatware
- The cleanup targets are explicit
- It focuses on cache and junk, not personal data
- It gives users direct control over what gets cleaned
For many users, trust matters more than features. CleanCLI is meant to be understandable first, convenient second.
CleanCLI is designed with a safety-first mindset:
- It targets temporary, cache, junk, and rebuildable files
- It does not intentionally target user documents or personal media
- It does not scan private files for content
- It does not run as a hidden service or background cleaner
- It is meant to be inspected, modified, and run by the user directly
Use at your own responsibility, but with confidence: this utility is intended to be transparent, conservative, and practical, not aggressive or deceptive.
- Windows PC
- Command Prompt / Batch script support
- Administrator privileges for full cleanup functionality
- Optional developer tools if you want those cache-clean commands to work fully:
pipnpm- Gradle-related directories
- This is a Windows-only
.batutility - Some cache locations may vary by app version or custom install path
- Some files may be locked while apps are open
- Certain caches may rebuild after the next app launch
- Free space reporting is basic and intended for quick checks
- The script is intentionally conservative and does not attempt advanced system optimization
- Improve free space reporting with more readable units
- Add clearer success and skipped-item reporting
- Expand optional cleanup profiles for more developer tools
- Add more app-specific cache targets where safety is clear
- Improve logging and transparency for each cleanup step
- Refine naming and packaging for easier GitHub distribution
This project is open-source and intended to be easy to inspect and use.
If you are publishing this repository, add your preferred license here, for example:
MITApache-2.0GPL-3.0
Built by the CleanCLI project author for Windows users who want a safer, simpler, and more transparent way to recover disk space without trusting opaque cleaner software.