Disable Salesforce CLI Data Collection and Metrics

Salesforce collects usage data and metrics (telemetry) to help improve Salesforce CLI. We collect anonymous information related to the use of Salesforce CLI and plugins, such as which commands and flags were run, and performance and error data.

We use these data to improve the CLI by looking at trends in command executions and how the CLI is configured. We also research error data to improve the CLI and to create efficiencies in our work (and yours). You’re automatically enrolled in telemetry when you use the CLI.

If you would prefer to opt out of telemetry, set the disableTelemetry configuration variable to true.

1sf config set disable-telemetry=true --global

Alternatively, you can opt out by setting the environment variable: SF_DISABLE_TELEMETRY=true.