Reference / Developer artifacts

Is it safe to delete .next folders on a Mac?

Safe to delete

Your tools rebuild it the next time you build.

**/.next
What it is
Next.js build cache — rebuilt automatically
If you delete it
First `next dev` or `next build` after deletion takes longer (cold start)
How to get it back
(automatic on next next.js run)
Recovery time
about a minute
Category
Developer artifacts

Don't guess — let diskspace check it live.

It pressure-tests the path against your live disk state and stages it reversibly, so you never lose anything you needed.

$ brew install tymrtn/diskspace/diskspace $ diskspace explain **/.next # verdict + live pressure-test