Installation
Task guide
Install the stable Glade binary on macOS or Linux, verify its version, then continue inside a Salesforce DX project.
Verified stable release: v0.2.14
Supported release archives
| OS | CPU | Status |
|---|---|---|
| macOS | arm64 | supported release archive |
| macOS | amd64 | supported release archive |
| Linux | amd64 | supported release archive |
| Linux | arm64 | supported release archive |
| Windows | amd64/arm64 | no native release archive; source builds and WSL are not verified by this walkthrough |
Install and verify
curl -fsSL https://glade.sh/install.sh | sh
glade versionThe script installs the glade binary, including parser support, to ~/.local/bin. It installs the LWC runtime/toolchain and bundled editor assets under ~/.local/share/glade by default. Set GLADE_INSTALL_DIR and GLADE_HOME to change those destinations. A clean v0.2.14 macOS arm64 install used about 220 MB; size varies by release and platform. Expected: glade version prints v0.2.14. If the shell cannot find glade, repair the current shell with:
export PATH="$HOME/.local/bin:$PATH"
glade versionAdd the PATH line to your shell configuration to retain it in new terminals.
Override both destinations or pin a release when needed:
curl -fsSL https://glade.sh/install.sh | env GLADE_INSTALL_DIR=/usr/local/bin GLADE_HOME="$HOME/.local/share/glade" sh
curl -fsSL https://glade.sh/install.sh | env GLADE_VERSION=vX.Y.Z shReplace vX.Y.Z with the exact published release you reviewed. CI examples in this guide pin their tested release directly.
Update
Preview the installer command before allowing self-replacement:
glade update --dry-run
GLADE_UPDATE_ALLOW_SHELL=1 glade update
glade versionglade update updates the directory that contains the current glade binary. The environment guard keeps self-replacement explicit.
Continue in a project
glade doctor is project-aware. Do not use it as the binary installation check. Continue with the first local check, which enters or initializes a Salesforce DX project before running:
glade doctor --project .Other installation paths
The security and release trust guide is the canonical manual verification path. It resolves the version and archive from the same published manifest used by the installer and this page.
Its fail-closed release check verifies the CycloneDX attestation:
gh attestation verify "$GLADE_ARCHIVE" -R glade-sh/glade \
--predicate-type https://cyclonedx.org/bom