Bottom Line: It is 100% safe to delete the .turbo folder. Running npx turbo clean or manually deleting .turbo will not affect your source code or project packages.
What is the .turbo Folder?
Located in the root of JavaScript/TypeScript monorepos using Turborepo (and inside sub-package directories), .turbo is the local task execution cache created by Turborepo.
Turborepo saves build artifacts, lint outputs, and TypeScript type-check outputs into .turbo. When you run turbo build, it skips re-building unchanged packages by serving cached outputs from .turbo. Over time, as monorepo packages update, .turbo can expand to 5 GB to 15 GB+.
Can You Delete .turbo?
✅ Yes, it is completely safe to delete.
- No code risk: Your source code,
package.json, andturbo.jsonsettings are untouched. - Forces clean rebuild: Deleting
.turboforces Turborepo to re-run build tasks cleanly across all monorepo packages.
How to Safely Clean Up Turborepo Cache
Method 1: Delete via Terminal (Recommended)
Navigate to your monorepo root directory and run:
# macOS / Linux
rm -rf .turbo **/node_modules/.cache/turbo
# Windows (PowerShell)
Remove-Item -Recurse -Force .turbo
Related Guides
- Learn about deleting Next.js cache.
- How to clean up node_modules folders.
- Check if you can clean pnpm store.
Discussion
Loading authentication...