Join the Nuxt Team at Frontend Nation 4-7 June.

nuxi cleanup

Remove common generated Nuxt files and caches.

Terminal
npx nuxi 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.