Skip to content

How to disable next telemetry #9241

Answered by kennedybaird
rburgst asked this question in Questions
Discussion options

You must be logged in to vote

Per the Next docs:

env variables:

NEXT_TELEMETRY_DISABLED=1 seems to work immediately.

To verify:

  1. I set NEXT_TELEMETRY_DEBUG=1
  2. ran yarn dev
  3. saw a [telemetry] object logged (after ✨ Preparing Admin UI app)
  4. I set the NEXT_TELEMETRY_DISABLED=1 var
  5. ran yarn dev again, no more log.

I also tried with yarn next telemetry disable, it confirmed it disabled it, but when I ran yarn dev, I still received the telemetry log - so go with the .env option.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by rburgst
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants