Salesforce Dictionary - Free Salesforce GlossarySalesforce Dictionary
Full Integrated Development Environment (IDE) entry
How-to guide

Set up the modern Salesforce IDE stack

The full setup takes about an hour for a fresh developer machine. Most of the time is downloads; the actual configuration is minimal.

By Dipojjal Chakrabarti · Founder & Editor, Salesforce DictionaryLast updated May 21, 2026

The full setup takes about an hour for a fresh developer machine. Most of the time is downloads; the actual configuration is minimal.

  1. Install Visual Studio Code

    Download from code.visualstudio.com. The free download is the full IDE.

  2. Install the Salesforce Extensions Pack

    Open VS Code, Extensions, search for Salesforce Extension Pack. Install the bundle.

  3. Install the Salesforce CLI

    Download from developer.salesforce.com/tools/sfdxcli. The installer adds the sf command to your shell.

  4. Authenticate against your org

    Run sf org login web -a your-org-alias. A browser opens; complete the OAuth flow. The CLI stores the refresh token locally.

  5. Create or retrieve a project

    Either sf project generate to create a new SFDX project, or open an existing project folder and pull metadata via sf project retrieve start.

  6. Configure debugger and test runner

    Apex Replay Debugger and Apex Test Runner are part of the extensions; they configure automatically once a project is opened.

Gotchas
  • Force.com IDE projects do not work with VS Code without conversion. Use sf project convert source to migrate before opening.
  • Salesforce CLI authentication uses local OAuth tokens. Loss of the developer machine means re-authenticating; tokens cannot be recovered remotely.
  • Source tracking works on scratch orgs and developer sandboxes only. Production deployments use manifest-based deploys and require explicit destructive changes for deletions.
  • IDE updates ship monthly alongside Salesforce releases. Stay on the latest version to avoid bugs the Salesforce team has already fixed.

See the full Integrated Development Environment (IDE) entry

Integrated Development Environment (IDE) includes the definition, worked example, deep dive, related terms, and a quiz.