nuxt info
The info command logs information about the current or specified Nuxt project.
Terminal
npx nuxt info [ROOTDIR] [--cwd=<directory>] [--json]
The info command logs information about the current or specified Nuxt project: the versions of Nuxt, Nitro and Vite it resolves, the package manager, the modules it loads and the build modules in its configuration. Use --json when you want to read it from a script.
Arguments
| Argument | Description |
|---|---|
ROOTDIR | The root directory of your Nuxt project (default: .) |
Options
| Option | Default | Description |
|---|---|---|
--cwd=<directory> | Specify the root directory of your Nuxt project | |
--json | Print project info as JSON |