Nuxt 2 reached End-of-Life on June 30th, 2024.

nuxi devtools

The devtools command allows you to enable or disable Nuxt DevTools on a per-project basis.
npx nuxi devtools enable|disable [rootDir]

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.

rootDir.The root directory of the app you want to enable devtools for.
Read more about the Nuxt DevTools.