---
schema_version: "1"
id: 748d33956bf700ead763016f2bb9e2abbcb9f3f8e7233cc2c63abb4b14e2b0e2
title: Install the Analytics CLI Plugin
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/analytics/264-0-0/bi_cli_analytics_plugin_install.md
canonical_url: https://help.salesforce.com/s/articleView?id=analytics.bi_cli_analytics_plugin_install.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: ef89da5c07d856d2f818c6da28cb9c7592a29914763def1aecf0ace24b10fe1d
description: Follow these steps to set up the Analytics plugin for Salesforce command-line interface (CLI) for your CRM Analytics development project.
products:
  - CRM Analytics
  - Cross Cloud
release: "264"
---
# Install the Analytics CLI Plugin

Follow these steps to set up the Analytics plugin for Salesforce command-line interface (CLI) for your CRM Analytics development project.

1. Enable Dev Hub in your org so you can create and manage scratch orgs from the command line. See [Enable Dev Hub in Your Org](https://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_setup_enable_devhub.htm).
2. Install the Salesforce CLI. See [Install the Salesforce CLI](https://developer.salesforce.com/docs/atlas.en-us.sfdx_setup.meta/sfdx_setup/sfdx_setup_install_cli.htm).
3. Create a Salesforce Developer Experience (SFDX) project. See [Create a Salesforce DX Project](https://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_dev_ws_create_new.htm).
4. Create a scratch org. See [Create Scratch Orgs](https://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_dev_scratch_orgs_create.htm).
5. Install the CLI Analytics plugin by running the command `sf plugins install @salesforce/analytics`.
6. Verify the installation by listing the available CRM Analytics commands. Run the command `sf analytics --help`.

For an overview and examples of commonly used CLI commands for managing CRM Analytics assets, refer to the [Salesforce Analytics CLI Plugin Command Reference](https://developer.salesforce.com/docs/analytics/bi-dev-guide-cli-reference/guide/bi-cli-reference.html).