--- title: 'nuxi cleanup' description: 'Remove common generated Nuxt files and caches.' links: - label: Source icon: i-simple-icons-github to: https://github.com/nuxt/cli/blob/main/src/commands/cleanup.ts size: xs --- ```bash [Terminal] npx nuxi cleanup [ROOTDIR] [--cwd=] ``` The `cleanup` command removes common generated Nuxt files and caches, including: - `.nuxt` - `.output` - `node_modules/.vite` - `node_modules/.cache` ## Arguments Argument | Description --- | --- `ROOTDIR="."` | Specifies the working directory (default: `.`) ## Options Option | Default | Description --- | --- | --- `--cwd=` | | Specify the working directory, this takes precedence over ROOTDIR (default: `.`)