Skip to content

Local Apex runtime

Apex feedback without the deploy wait.

Check source, run supported tests, and debug Apex against your Salesforce DX project—locally, without an org login. Salesforce remains the final validation gate.

v0.2.14 · macOS and Linux · Apache-2.0

No Salesforce org login is required for supported local checks.

Project loopExample local output
$ glade check --project . --no-progress
DiagnosticCannot resolve variable renewalQuote

RenewalQuoteService.cls:42

1diagnostic0deploys412msexample runtime

One local loop

Move from project to proof in three steps.

  1. Choose the project and task.Enter a Salesforce DX project and pick a check, test, debug, data, or CI job.
  2. Run the supported path locally.Use the same runtime from the CLI, VS Code, local Playground, or automation.
  3. Inspect concrete proof.Read the diagnostic, result, artifact, and exact Salesforce boundary.

Use the same proof from your tools

Run local Apex tests from VS Code.

Glade Home, Test Explorer, CodeLens, diagnostics, and debug actions use the same local project contract as the CLI.

Use Glade in VS Code
VS Code Apex editor showing Glade Run Local Test CodeLens actions
Checked help capture: run a local Apex test from CodeLens in VS Code.

Start with the job you have

Choose the next local workflow.

What runs locally

Know the boundary before you rely on a result.

Supported paths run locally. Use Salesforce for hosted services, deployment, and final production validation.

Database.insertRuns locally
Schema.DescribeSObjectResultRuns locally with limits
ResetPasswordResult.getPasswordRequires Salesforce
Check the versioned support map
curl -fsSL https://glade.sh/install.sh | sh
glade version

Install and verify the binary, then continue inside your Salesforce DX project.

Glade is an independent project and is not affiliated with, sponsored by, or endorsed by Salesforce. Salesforce and Apex are trademarks of Salesforce, Inc. · Maintainer · Security · Releases · Apache-2.0