Docs API Commands

nuxi cleanup

Remove common generated Nuxt files and caches.

Terminal
npx nuxi clean|cleanup [rootDir]

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

  • .nuxt
  • .output
  • node_modules/.vite
  • node_modules/.cache
OptionDefaultDescription
rootDir.The root directory of the project.