Files
Pamela Chia c1a71cb1d7 docs(cli): clarify telemetry data and opt-out value (#54172)
The CLI telemetry section said only that the CLI collects "general
usage" data, and it named the opt-out variables without saying the value
must be exactly `1`. I tightened it to one sentence on what the data is
and what it is linked to, the exact-`1` rule, and the switch for the
release check.

**Changed:**
- **What is collected**: I replaced "general usage" with a short
summary: usage data such as the commands you run, linked to a device ID
and, when you authenticate the CLI, to your Supabase account.
Authenticating covers both `supabase login` and an access token in CI.
- **Opt-out value**: I added that `SUPABASE_TELEMETRY_DISABLED` and
`DO_NOT_TRACK` must be exactly `1`. Other values, such as `true`, leave
telemetry on.
- **Release check**: the check for a newer CLI release is separate from
telemetry and its switch, `SUPABASE_NO_UPDATE_NOTIFIER=1`, had no docs.
I added two sentences.

**Note:** every statement on the page holds for the current stable CLI,
so this does not wait on supabase/cli#7811 reaching a stable release. I
left out a link to the CLI repository's analytics reference because that
file tracks the development branch and already describes behavior the
stable CLI does not have. The `Telemetry` and `How to opt out` headings
are unchanged, so existing links to those anchors keep working.

## To test

Tested on the PR preview:
- [x] Open
`/docs/guides/local-development/cli/getting-started#telemetry`, expect
the page to scroll to Telemetry and the first paragraph to mention a
device ID and your Supabase account. Observed: the Telemetry heading is
in view (the section sits near the end of the page, so it lands
mid-viewport) and the paragraph reads as written in the diff.
- [x] Open
`/docs/guides/local-development/cli/getting-started#how-to-opt-out`,
expect the opt-out steps, then "The value must be exactly `1`.", then a
paragraph naming `SUPABASE_NO_UPDATE_NOTIFIER=1`. Observed: the heading
lands at the top of the viewport and the three paragraphs follow the
steps in that order, with the variables rendered as inline code.

## Linear
- fixes GROWTH-1573
2026-11-30 22:21:25 +08:00
..