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

See Dockerfile

See Dockerfile-ubuntu