sfdx-cli logo

sfdx-cli Salesforce

Use this command to install sfdx-cli:
winget install --id=Salesforce.sfdx-cli -e

Single command-line interface for all Salesforce DX features.

The Salesforce CLI is a command-line interface designed to streamline development and build automation when working with Salesforce DX features. It provides developers and administrators with a unified toolset to perform essential tasks across their Salesforce orgs.

Key Features:

  • Aggregate all tools needed for developing and managing Salesforce orgs in one place.
  • Synchronize source code between scratch orgs, enabling efficient development workflows.
  • Create and manage orgs, import/export data, run tests, and install packages directly from the command line.

Audience & Benefit:
Ideal for Salesforce developers and administrators seeking to automate repetitive tasks and integrate their workflow with Salesforce DX. By consolidating tools into a single interface, the Salesforce CLI enhances productivity, reduces manual effort, and simplifies org management.

The CLI is available for macOS (Apple Silicon, Intel CPU), Windows (x64, x86, ARM64), and Linux (x64). It can be installed via winget on supported systems. Once installed, developers can run sf commands in a terminal to access the full range of functionality.

Versions
7.209.6