Repository navigation
Releases
Releases · thearyanahmed/devsweep
v0.2.0
Added
devsweep why: where the disk went, on one screen. The disk's size and free space, what devsweep can reclaim by
part with the command for each, what Docker's VM disk holds back and how each engine gives it back, and Time
Machine's local snapshots with thetmutilcommand that thins them.clean -until 30G: clean only until the disk has that much free, safest and longest-unbuilt artifacts first.clean -trim 30d: Rust projects lose only the build files unused that long, through cargo-sweep, instead of all of
target/.clean -yanswers yes to every question but an unsafe one's. What is offered still follows the other flags, and
rm -rfstays a dry run unless--dry-run=false.-pwdscans, or withcleancleans, the folder you are in.- Old toolchains with
-toolchains: rustup, nvm, fnm, volta, pyenv, mise and SDKMAN versions, except the default,
the one on PATH and any a project pins (.nvmrc,rust-toolchain.toml,.tool-versions, ...). - Local AI models: each Ollama model (removed with
ollama rm) and LM Studio's models folder;-modelslists only
them, and withcleanoffers each one. - Local Kubernetes clusters: kind and k3d clusters listed by cluster;
clean -clustersdeletes each with its own tool. -gitlists.gitfolders over 500 MiB and worktrees whose repository is gone; never cleaned.- About 30 more shared caches with
-caches: Gradle, Maven, Hugging Face, poetry, pre-commit, deno, node-gyp,
Playwright, Cypress and Puppeteer browsers, Composer, Dart pub, Terraform plugins, ccache, sccache, CocoaPods,
Carthage, SwiftPM, minikube, the Android SDK cache, and JetBrains, VS Code and Cursor cached data. - Xcode: simulator runtimes (the newest per platform is never offered), archives, documentation cache, device logs,
simulator caches and logs, device support split per OS version, and old Xcode copies in/Applications, listed
with how to remove them. - Prebuilt binaries for macOS and Linux on every release, and a Homebrew tap.
Changed
- With no folders named, devsweep scans your home folder instead of
~/dev, skipping~/Library, hidden folders at
its top, the media folders and Photos libraries;cleanaccepts the home folder too. Named folders are checked
first: a missing, unreadable or macOS-protected one stops devsweep with the reason. - Naming folders (or
-pwd) lists only what's in them: Docker and local models are left out unless their flag asks. --include-cautionis replaced by-upto safe|caution|unsafe.-upto unsafecan clean folders git tracks files
in: one by one, each confirmed by typing its name (never by-y), and only with no uncommitted changes in it.-treeshows only each artifact's size, safety and clean command;-detailedbrings back its kind, last build,
rebuild command and why it isn't safe.Sweeper::listis given the folders being scanned.- The README is short; everything else is in
docs/reference.md.