CopyCommandCopyCommand
Default

Remove-Item -Recurse -Force .next

Summary

Deletes the .next build cache so Next.js can rebuild cleanly.

Command

Windows PowerShell

Run in PowerShellWindows PowerShell
Remove-Item -Recurse -Force .next

This can delete files or discard work.

Related commands