Learn Nuxt with a Collection of 100+ Tips!

nuxi devtools

The devtools command allows you to enable or disable Nuxt DevTools on a per-project basis.
Terminal
npx nuxi devtools <COMMAND> [ROOTDIR] [--cwd=<directory>]

Running nuxi 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 nuxi devtools disable.

Arguments

ArgumentDescription
COMMANDCommand to run (options: <enable|disable>)
ROOTDIR="."Specifies the working directory (default: .)

Options

OptionDefaultDescription
--cwd=<directory>Specify the working directory, this takes precedence over ROOTDIR (default: .)
Read more about the Nuxt DevTools.