Disable Next.js telemetry
Current version: 20.x
Abstract
How to disable the collection of telemetry data by Next.js.
Next.js collects anonymous telemetry data about general usage. Participation in the program is optional.
To disable telemetry data collection:
-
Identify your Next.js
.env
file, based on the development environment setup you chose.-
For full-stack development, go to
src/rendering/.env
. -
For front-end development, go to the
.env
file in the root directory of your project.
-
-
Set the following variable in your
.env
file:RequestResponseshellNEXT_TELEMETRY_DISABLED=1