百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
S

sfdx-hardis

> DevOps
开源

法军刀具销售工具箱. Orchestrates base 命令和帮助用户使用交互式向导,使其比本地销售力CLI + Al多得多

367 stars0 点赞1 次浏览
访问官网GitHub

工具介绍

法军刀具销售工具箱. Orchestrates base 命令和帮助用户使用交互式向导,使其比本地销售力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

  • Backup Metadatas and Monitor your Salesforce orgs

  • Generate your Project Documentation with AI

  • 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

Installation

Which installation do I need?

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.


Install with Visual Studio Code (recommended)

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.

Step 1: Install Visual Studio Code

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.

Step 2: Install the SFDX Hardis extension

  • Start VS Code.
  • In the vertical bar of icons on the left, called the Activity Bar, click the Extensions icon (four small squares, the top right one tilted). Keyboard shortcut: Ctrl+Shift+X, or Cmd+Shift+X on macOS.
  • Type sfdx hardis in the search box.
  • Click SFDX Hardis in the results, then click Install.
  • If VS Code asks whether you trust the publisher, accept: the extension is published by NicolasVuillamy, the author of sfdx-hardis.

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.

Step 3: Open the sfdx-hardis panel

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).

Step 4: Install the dependencies

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.

  • Click Install or Upgrade on every line that is not green, or click Run pending installs to handle them one after the other.
  • Node.js and Git are the two you may have to install by yourself: download them from nodejs.org and git-scm.com, then click Re-check on the line.
  • Close VS Code and open it again at the end, so it sees the newly installed tools.

When every line is green, the installation is over.

Step 5: Connect to your Salesforce org

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:

  • What you can do from the VS Code extension
  • Set up a Salesforce CI/CD project
  • Monitor a Salesforce org

Video tutorial

If you prefer to watch someone do it first, follow the video below.

If something does not work

  • A line stays red after you installed the tool: close VS Code, open it again, then click Re-check on that line.
  • A command does nothing: open the setup page again, a dependency may still be missing or outdated.
  • Still stuck? Open a GitHub issue, the maintainers and the community answer there.

Other VS Code compatible IDEs

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).


Install as a Salesforce CLI plugin

For those who prefer to type commands in a terminal. If you followed the VS Code steps above, this is already done.

Pre-requisites

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

Plugin installation

sh-session
sf plugins install sfdx-hardis

For advanced use, please also install dependencies

sh-session
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.


Run in CI/CD with a Docker image

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.


Standard images (without coding agent CLIs)

  • Linux Alpine based images (works on GitLab)

    • GitHub Container Registry (recommended)

      • ghcr.io/hardisgroupcom/sfdx-hardis:latest (with latest @salesforce/cli version)
      • ghcr.io/hardisgroupcom/sfdx-hardis:latest-sfdx-recommended (with recommended @salesforce/cli version, in case the latest version of @salesforce/cli is buggy)
    • Docker Hub (mirror)

      • hardisgroupcom/sfdx-hardis:latest (with latest @salesforce/cli version)
      • hardisgroupcom/sfdx-hardis:latest-sfdx-recommended (with recommended @

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

TypeScriptagentforceaiapexautomation

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类DevOps
定价开源

> 相关工具

D
Docker
容器化平台,标准化应用交付
G
GitHub Actions
GitHub 原生 CI/CD 工作流
N
Nginx
高性能 Web 服务器与反向代理