
I freed 12GB of disk space in 10 seconds with one CLI command
You know that "disk almost full" notification that pops up right when you're in the middle of something important? Yeah. That one. I used to spend 20 minutes hunting down what was eating my disk. Turns out, the answer was almost always the same: my own dev tools . Your dev machine is silently hoarding gigabytes of junk Here is a dirty secret nobody talks about at standup: every project you have ever cloned, built, and forgotten about is still sitting on your disk, quietly consuming space. That side project from January? Its node_modules is still there. That Rust experiment you tried for a weekend? The target/ folder is 800MB. Those three Docker tutorials? Dangling images galore. And the worst part is that every tool has its own cleanup command : rm -rf node_modules # per project, manually docker system prune # Docker brew cleanup --prune=all # Homebrew pip cache purge # Python cargo clean # Rust, per project rm -rf ~/Library/Developer/Xcode/DerivedData # Xcode npm cache clean --force #
Continue reading on Dev.to JavaScript
Opens in a new tab




