Guides
Is it safe to delete that folder?
Quick answers and copy-paste commands for the generated folders that fill developer disks.
node_modulesYes, node_modules is safe to delete.Read →RusttargetYes, Rust's target folder is safe to delete.Read →Flutter / Dartbuild.dart_toolYes, Flutter's build/ and .Read →Python.pytest_cache.mypy_cache.ruff_cacheYes, .Read →Swift.buildYes, a Swift package's .Read →Gradle.gradleYes, a project's .Read →MaventargetYes, Maven's target folder is safe to delete.Read →Long reads
- How to delete all node_modules folders (macOS, Linux and Windows)
- Deleting node_modules on Windows takes forever. Here's why, and how to fix it
- flutter clean, build/ and .dart_tool: what's safe to delete in a Flutter project
- Free up disk space on a Mac: the developer's checklist
- npkill vs kondo vs Gigaflush: which project cleaner should you use?
- Port 3000 already in use? Find and stop the ghost dev servers
- Python, Gradle and Maven caches: what you can safely delete
- Why is my Rust target folder so big? (And how to clean it)
- Vibe coding is eating your disk. Here's where the gigabytes go.
- Why is node_modules so big? A practical look inside