Salesforce Analytics CLI Plugin Command Reference
The sf section contains information about the sf-style commands, which became generally available in July 2023. The sfdx section contains information about the sfdx-style commands, which are deprecated. We no longer maintain the sfdx information and keep it in this guide for historical reference only. See this developer blog post for more information about Salesforce CLI sf (v2).
Getting Started
The Analytics plug-in commands perform Analytics related actions, like creating apps and updating templates, in your target org. You must be authenticated into your scratch org from a generated project for the Analytics plug-in commands to work.
sf project generate --name MyAnalyticsWork
sf org create scratch --edition developer --alias my-scratch-org
sf config set target-org my-scratch-org
sf org open [-o my-scratch-org]
sf analytics --help
For information about installing the Salesforce CLI, see the Salesforce DX Setup Guide.
For information about installing the Analytics CLI plugin, see Install the Analytics CLI Plugin.
For information about Salesforce CLI changes, see the Salesforce CLI Release Notes.