Salesforce
DX (Developer Experience) is a set of tools and features provided by
Salesforce to enhance the development and deployment experience on
the Salesforce platform. The core components of Salesforce DX,
including the Salesforce CLI, Developer Hub, Packaging, and Scratch orgs for devs, are available at no
additional cost. It promotes
a source-driven development approach where
the source code and configuration metadata are stored in version
control systems (such as Git) rather than directly in Salesforce
orgs.
Table Content:
- Operating System Requirement
- Steps To Install Salesforce CLI
- Steps To Install IDE and Plugins
- Create a Project using CLI Commands
Operating System Requirement:
- Windows: Windows 10 or later (64-bit)
- macOS: macOS 10.15 (Catalina) or later
- Linux: Ubuntu 18.04 LTS or later (64-bit), CentOS 7 (64-bit), or RHEL 7 (64-bit)
Steps To Install Salesforce CLI:
Salesforce CLI is the command-line interface for interacting with Salesforce DX. It provides us
with different types of commands. By using these commands, we can interact with our Salesforce Environment such as Scratch org, Sandbox, and Production Environment.
- Navigate to the official CLI tool website at: https://developer.salesforce.com/tools/sfdxcli
- Select Operating System and Download CLI File
- Install the CLI file on our Operating System.
Validate Salesforce CLI Installation:
- Open a terminal or command prompt
- Run the following Command
sfdx --versionThe Salesforce CLI version number is shown below. It means Salesforce CLI is installed correctly.
Steps to Install IDE and Plugin:
Visual Studio Code is recommended IDE for Salesforce Dx.
- Navigate to the official Visual Studio Code( VS Code) website at : https://code.visualstudio.com/Download
- Select Operating System and Install Visual Studio Code
Steps to Install Plugins or Extension Pack:
- Open Visual Studio Code IDE on your computer
- On the Left toolbar Section click on the "Extension Button" Option
- Search for the "Salesforce CLI Integration" Extension and install it
- Open Visual Studio Code IDE on your computer
- On the Left toolbar Section click on the "Extension Button" Option
- Search for the "Salesforce CLI Integration" Extension and install it
Steps to Verify Extension Pack:
- Open Visual Studio Code IDE on your computer
- Click on the View menu option that appears on the Toolbar
- Click on Command Palette Option.
- On Command Palette Search Box search with the "SFDX" keyword. If we can search SFDX commands. It means we are successfully installed Plugin





0 Comments