Install Salesforce Extensions for VS Code

Install Salesforce Extensions for VS Code

Before you get started, install the required software on your computer.

Visual Studio Code

Install Visual Studio Code on any computer running macOS, Windows, or Linux. VS Code’s system requirements are fairly small, so it should run well on most computers.

To install Visual Studio Code visit and click the big green Download button. After the download finishes, open the installer and follow the steps to complete the installation.

Salesforce Extensions for Visual Studio Code

Install the Salesforce Extension Pack extension from the Visual Studio Marketplace. The extension pack contains additional features that help you develop Salesforce apps using Visual Studio Code.

To install the extensions, visit and click the green Install button. The installation process prompts you to open Visual Studio Code. After Visual Studio Code opens, a dialog box opens in the lower right corner, asking you to install the extension. Click Install to proceed.

Install Extension

After the extensions are installed, you see a blue Reload button. To reload Visual Studio Code and finish the installation, click the button (or close and reopen Visual Studio Code).

Salesforce CLI

Salesforce CLI is used to execute commands against Salesforce orgs and work with source files on your local machine. Salesforce Extensions for VS Code uses Salesforce CLI behind the scenes, so even if you don’t want to use the CLI directly you need to install it on your machine.

For information about installing Salesforce CLI, see the Salesforce DX Setup Guide.

Java Platform, Standard Edition Development Kit

Some features in Salesforce Extensions for VS Code depend upon the Java Platform, Standard Edition Development Kit (JDK). You need to have either version 8 or version 11 of the JDK installed. See Java Setup for details.

Feedback or Bugs | Edit this Article