Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.

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.