@nuxt/devtools
Nuxt DevTools shows you how your Nuxt app is put together: its pages, components, auto-imports, modules, server routes, payloads and configuration. It lives as a Nuxt group inside the Vite DevTools panel, next to Vue DevTools, Inspect, Terminals and the tools your other Vite plugins provide.

Requirements
Nuxt DevTools v4 needs Vite 8, so Nuxt 5, or Nuxt 4.5 or later. Nuxt 4.0–4.4 ship Vite 7 and cannot run it; see Upgrading to v4 if you are coming from v3.
Installation
Nuxt 5
Nuxt 5 ships @nuxt/devtools-onboard, a tiny module that loads Nuxt DevTools when it is installed. The first time you run nuxt dev without it, a floating button offers to install @nuxt/devtools with your package manager and restarts the dev server. Each install waits for you to confirm it in the terminal running nuxt dev.
You can also install it yourself:
npm i -D @nuxt/devtoolsNuxt 4.5+
Nuxt 4 still bundles DevTools v3. Override the bundled version with your package manager, then reinstall:
{
"overrides": {
"@nuxt/devtools": "^4.0.0"
}
}{
"resolutions": {
"@nuxt/devtools": "^4.0.0"
}
}# pnpm-workspace.yaml
overrides:
'@nuxt/devtools': ^4.0.0Remove your lockfile (package-lock.json, yarn.lock, or pnpm-lock.yaml) and install again so the override takes effect.
Turning it off
DevTools is enabled by default in development, and nothing is injected in production. To turn it off, set enabled to false:
export default defineNuxtConfig({
devtools: { enabled: false },
})Opening the DevTools
Run nuxt dev and open your app in the browser. Click the Nuxt button in the Vite DevTools dock at the bottom of the page, or press Shift + Alt / ⇧ Shift + ⌥ Option + D, to toggle the panel.
Vite DevTools can run commands and read files on your machine, so the first time you open it, it asks you to authorize the browser with the code printed in the terminal running nuxt dev. The prompt is skipped in sandboxes such as StackBlitz and CodeSandbox. To skip it elsewhere, set devtools.disableAuthorization: true; only do this on a machine you trust, as any browser that reaches the dev server then gets access.
Module Options
Configure Nuxt DevTools with the devtools key of your nuxt.config:
export default defineNuxtConfig({
devtools: {
// Enable DevTools (default: true)
enabled: true,
// Coder code-server integration (default: enabled, launched on demand)
codeServer: {},
// Record composable calls and route changes in the Timeline tab (default: false)
timeline: { enabled: true },
},
})| Option | Default | Description |
|---|---|---|
enabled | true | Enable Nuxt DevTools. |
componentInspector | true | Inspect the DOM to find the component rendering it. |
vueDevTools | true | Register the Vue DevTools dock next to the Nuxt group. |
viteInspect | true | Register the Inspect dock, or its install launcher. |
dataInspector | true | Register the Data Inspector panel. |
codeServer | Code Server options; codeServer.enabled: false removes it. | |
timeline | Timeline options; timeline.enabled defaults to false. | |
assets.uploadExtensions | File extensions the Assets panel accepts for upload, or '*' for any. | |
disableAuthorization | Skip the browser authorization prompt. On by default in sandboxes. | |
mcp | 'auto' | Expose the Vite DevTools MCP endpoint for AI agents; false turns it off. |
telemetry | Anonymous telemetry. Follows your Nuxt telemetry setting; set to false to opt out. |
For every option, see the TSDocs in your IDE or the type definition file.
Nightly Release Channel
Similar to Nuxt's Nightly Channel, DevTools also offers a nightly release channel, that automatically releases for every commit to the main branch.
On Nuxt 5, install it next to your app's dependencies; it takes precedence over @nuxt/devtools:
npm i -D @nuxt/devtools-nightlyIf your nuxt.config lists @nuxt/devtools in modules, replace it with @nuxt/devtools-nightly.
On Nuxt 4, alias it with your package manager's overrides:
{
"overrides": {
"@nuxt/devtools": "npm:@nuxt/devtools-nightly@latest"
}
}{
"resolutions": {
"@nuxt/devtools": "npm:@nuxt/devtools-nightly@latest"
}
}# pnpm-workspace.yaml
overrides:
'@nuxt/devtools': 'npm:@nuxt/devtools-nightly@latest'Remove your lockfile (package-lock.json, yarn.lock, or pnpm-lock.yaml) and reinstall dependencies.