Let’s start with Visual Studio.

Step 1: Download and Install Visual Studio Code from here.

VS Code is an IDE to develop any code. We are using it as Salesforce code development Environment.

Step 2: Install SalesforceDX CLI (Salesforce Development Experience Command Line Interface) from here.

Commands used for interaction between Salesforce and VS Code. For Ex, to deploy the metadata to Salesforce Org.

Step 3: Salesforce Extension Pack is installed by default along with other Salesforce mandatory plugins. If not, please install the Extension Pack.

Step 4: Download and Install Git from here. Git is mainly used for version controlling. It runs locally and tracks the changes done to the files with in the team. Github or Bitbucket are used to maintain repository of files.

To check if the GIT has been installed properly, type the following command in the VS Code Terminal (Terminal -> New Terminal)
[php] git –version[/php]
You should see the installed Git version details

git version 2.33.0.windows.1

Note: Reload the VS Code window after installing the GIT in case VS Code throws an error for Git command.

Step 5: Set the Git path in VS Code. For the VS Code to establish communication channel, git.exe file path needs to be updated in the git path settings.

Goto File -> Preferences -> Settings -> (Type Git path in the Search bar) -> Click GIT -> Edit in settings.json

Provide the path of the Git exe file (Ex. “C:\\Program Files\\Git\\bin\\git.exe)