Skip to content

Run the first local check ​

Task guide

Initialize a Salesforce DX project, prove the local environment, and run the first local check from a terminal.

  • Initialize a Salesforce DX project.
  • Run `glade doctor --project .`.
  • Read the first `glade check` result.

Before you start ​

  • You have a terminal open at the Salesforce DX project root.
  • glade version works in that terminal. If it does not, install Glade first.

Steps ​

1. Initialize the project ​

bash
test -f glade.yml || glade init --project . --yes
glade config validate --project .
glade doctor --project .

Expected: glade.yml exists and glade doctor --project . ends with Ready.

Terminal showing glade doctor ready output

2. Check the project ​

bash
glade check --project .

Expected: glade check exits 0 for clean source or exits 1 with file and line diagnostics.

Terminal showing glade check output

Common wrong turn ​

glade: command not found means the install directory is not on PATH. Add ~/.local/bin to PATH, restart the terminal, and run glade version again.

Next ​

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