French-army-knife Toolbox for Salesforce. Orchestrates base commands and assist users with interactive wizards to make much more than native Salesforce CLI + Al
French-army-knife Toolbox for Salesforce. Orchestrates base commands and assist users with interactive wizards to make much more than native Salesforce CLI + Al
New: What's new in sfdx-hardis v8 - Deployment Actions are generally available, Pull Request comments are redesigned, and the VS Code extension is rebuilt. Sfdx-hardis is a CLI and visual productivity tools suite for Salesforce, by Cloudity & friends, natively compliant with most Git platforms, messaging tools, ticketing systems and AI providers (including Agentforce).
It is free and open-source, and lets you:
Deliver your projects with State of the art Salesforce DevOps
Use many commands that save minutes, hours or even days of your daily admin or developer work.
If you need help to get the most out of sfdx-hardis, Cloudity's international teams of business and technical experts can help: contact us. See online documentation for a better navigation
sfdx-hardis commands and configuration are best used from the SFDX Hardis Visual Studio Code extension
Featured on SalesforceBen See Dreamforce presentation
There are three ways to install sfdx-hardis, and you only need one of them.
| Your situation | What to install | Terminal needed |
|---|---|---|
| You want to use sfdx-hardis on your computer, with menus and buttons instead of commands. This is how most people use it. | Visual Studio Code and the SFDX Hardis extension | No |
| You are at ease with a terminal and only want the commands. | The sfdx-hardis plugin for Salesforce CLI | Yes |
| You are setting up a CI/CD pipeline (GitHub, GitLab, Azure, Bitbucket). | A ready to use Docker image | Yes |
Not sure? Take the first one: it also installs the command line version for you.
Visual Studio Code, usually shortened to VS Code, is a free application published by Microsoft. sfdx-hardis runs inside it and adds its own menus and buttons, so you can use every feature without typing a single command.
You do not need to know VS Code, or to write code, to follow the five steps below. Plan about 15 minutes, mostly waiting for downloads.
Go to code.visualstudio.com, download the version for your system (Windows, macOS or Linux), then run the downloaded file and keep the proposed options.
If VS Code is already on your computer, jump to step 2.
Ctrl+Shift+X, or Cmd+Shift+X on macOS.sfdx hardis in the search box.You can also do it from your browser: open the SFDX Hardis page on the Visual Studio Marketplace, click Install, and let the browser hand over to VS Code.
Once the extension is installed, a new icon appears in the Activity Bar, on the left. Click it (arrow 1 below): the sfdx-hardis menus appear, and the Welcome page opens.
At the top of the Welcome page, click the dependencies button (arrow 2 below).
To talk to Salesforce and to Git, sfdx-hardis needs a few other free tools. The setup page lists them all, with a green check on those you already have.
When every line is green, the installation is over.
Go back to the Welcome page and click Connect to log in to your first org. The same page then gives you access to all the features.
Where to go next:
If you prefer to watch someone do it first, follow the video below.
The extension is published on both the Visual Studio Marketplace and the Open VSX Registry, so the steps above also work in the IDEs built on VS Code, on desktop or in the browser.
| IDE | Install from | |
|---|---|---|
| Visual Studio Code | Visual Studio Marketplace | |
| Agentforce Vibes IDE and other browser IDEs | Open VSX | |
| Cursor, Windsurf, VSCodium and other VS Code forks | Open VSX |
The only requirement is the same as for VS Code: the IDE must be able to run the Salesforce CLI (Agentforce Vibes IDE ships it preinstalled).
For those who prefer to type commands in a terminal. If you followed the VS Code steps above, this is already done.
npm install @salesforce/cli --globalsf plugins install sfdx-hardisFor advanced use, please also install dependencies
sf plugins install @salesforce/plugin-packaging
sf plugins install sfdx-git-delta
sf plugins install sfdmuIf you are using CI/CD scripts, use echo y | sf plugins install ... to bypass prompt.
For pipelines: the images already contain Node.js, the Salesforce CLI, sfdx-hardis and its plugins, so a job starts without installing anything.
All our Docker images are checked for security issues with MegaLinter by OX Security
Images are published on both GitHub Container Registry (ghcr.io) and Docker Hub. Prefer the ghcr.io images: their publication does not rely on any long-lived token (it is secured with the workflow's ephemeral credentials), so they have the most secure supply chain. Use the Docker Hub mirror images when your infrastructure can only pull from
docker.io.
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.
Linux Alpine based images (works on GitLab)
GitHub Container Registry (recommended)
Docker Hub (mirror)
No open issues yet, or sync has not completed.