Skip to content

Installation

With IDE

You can install Visual Studio Code, then VSCode Extension VsCode SFDX Hardis

Once installed, click on Hardis Group button in VsCode left bar, click on Install dependencies and follow the additional installation instructions :)

When you are all green, you are all good 😊

You can also watch the video tutorial below

Installation tutorial


As SFDX Plugin

Pre-requisites

  • Install Node.js (recommended version)
  • Install Salesforce DX by running npm install @salesforce/cli --global command line

Plugin installation

sf plugins install sfdx-hardis

For advanced use, please also install dependencies

sf plugins install @salesforce/plugin-packaging
sf plugins install sfdx-git-delta
sf plugins install sfdmu

If you are using CI/CD scripts, use echo y | sf plugins install ... to bypass prompt.


Docker

You can use sfdx-hardis docker images to run in CI.

All our Docker images are checked for security issues with MegaLinter by OX Security

Two image flavors are available:

  • Standard images (sfdx-hardis, sfdx-hardis-ubuntu): Salesforce CI/CD tooling without coding agent CLIs. Use these for standard deployments.
  • With-agents images (sfdx-hardis-with-agents, sfdx-hardis-ubuntu-with-agents): Same as standard + coding agent CLIs pre-installed (Claude, Codex, Gemini, GitHub Copilot). Use these for AI-powered auto-fix scenarios.

Standard images (without coding agent CLIs)

See Dockerfile

See Dockerfile-ubuntu


With-agents images (includes coding agent CLIs)

These images include Claude Code, OpenAI Codex, Gemini CLI, and GitHub Copilot pre-installed and are required for the AI coding agent auto-fix feature.

Note: Alpine-based with-agents images may have limitations with some agent CLIs at runtime due to musl libc. Use Ubuntu-based images for full agent compatibility.

See Dockerfile

See Dockerfile-ubuntu