Nuxt/docs/3.api/4.commands/cleanup.md

598 B

title description links
nuxi cleanup Remove common generated Nuxt files and caches.
label icon to size
Source i-simple-icons-github https://github.com/nuxt/cli/blob/main/src/commands/cleanup.ts xs
npx nuxi cleanup [rootDir]

The cleanup command removes common generated Nuxt files and caches, including:

  • .nuxt
  • .output
  • node_modules/.vite
  • node_modules/.cache
Option Default Description
rootDir . The root directory of the project.