yarnpkg / yarnpkg/berry

Instruction to disable telemetry is broken

Open
#5,293 4 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
8.1k
Forks
1.3k
PR merge metrics
No merged PRs in 30d

Description

➤ YN0065: Yarn will periodically gather anonymous telemetry: https://yarnpkg.com/advanced/telemetry
➤ YN0065: Run yarn config set --home enableTelemetry 0 to disable

This is also the command shown at https://yarnpkg.com/advanced/telemetry/ (“To disable it on your whole machine (but not for anyone else), run yarn config set --home enableTelemetry 0.”).

So I ran this:

$ yarn config set --home enableTelemetry 0
yarn config v1.22.19
success Set "0" to true.
Done in 0.08s.

I followed a hunch from https://classic.yarnpkg.com/en/docs/cli/config which shows --global at the end, and that seemed to do better:

$ yarn config set enableTelemetry 0 --home
yarn config v1.22.19
success Set "enableTelemetry" to "0".
Done in 0.07s.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the two yarn config set commands from the issue and inspect the telemetry instructions at yarnpkg.com/advanced/telemetry, along with the config command handling. Done means the documented command stores enableTelemetry correctly and disables telemetry as stated.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
cli, documentation
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.