---
title: "nuxt devtools"
description: "The devtools command allows you to enable or disable Nuxt DevTools on a per-project basis."
canonical_url: "https://nuxt.com/docs/4.x/api/commands/devtools"
---
# nuxt devtools

> The devtools command allows you to enable or disable Nuxt DevTools on a per-project basis.

<!--devtools-cmd-->

```bash [Terminal]
npx nuxt devtools <COMMAND> [ROOTDIR] [--cwd=<directory>]
```

<!--/devtools-cmd-->

Running `nuxt devtools enable` will install the Nuxt DevTools globally, and also enable it within the particular project you are using. It is saved as a preference in your user-level `.nuxtrc`. If you want to remove devtools support for a particular project, you can run `nuxt devtools disable`.

## Arguments

<!--devtools-args-->

| Argument                    | Description                                          |
| --------------------------- | ---------------------------------------------------- |
| `COMMAND=<enable\|disable>` | Command to run                                       |
| `ROOTDIR`                   | The root directory of your Nuxt project (default: .) |

<!--/devtools-args-->

## Options

<!--devtools-opts-->

| Option              | Default | Description                                     |
| ------------------- | ------- | ----------------------------------------------- |
| `--cwd=<directory>` |         | Specify the root directory of your Nuxt project |

<!--/devtools-opts-->

::read-more{icon="i-simple-icons-nuxtdotjs" to="https://devtools.nuxt.com" target="\_blank"}
Read more about the **Nuxt DevTools**.
::

---

- [Source](https://github.com/nuxt/cli/blob/main/packages/nuxt-cli/src/commands/devtools.ts)


## Sitemap

See the full [sitemap](https://nuxt.com/sitemap.md) for all pages.
