Installing the Salesforce DX CLI

The Salesforce CLI enables you to do the following major tasks from the command line:

  • Create and manage Scratch Orgs
  • Push and pull code and configuration from source control to Salesforce scratch Orgs
  • Load sample datasets into scratch Orgs
  • Assign Permission sets
  • Install and uninstall managed package applications from the command line

To install the CLI, visit the Salesforce CLI website at https://developer.Salesforce.com/tools/sfdxcli.

Depending on your operating system, you can download the executable. The following screenshot shows the selection screen for the installation:

Once your installation is done, ...

Get Learning Salesforce Lightning Application Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.