Wingetlywingetly
← Back to sfdx-cli

Silent install command for sfdx-cli 7.209.6

The exact silent switches the sfdx-cli installer accepts, plus a one-line command you can paste into a script, Intune Win32 app, or Configuration Manager package.

One-line silent install (x64, machine scope)
sfdx-x64.exe /S

Run from the directory containing sfdx-x64.exe. Download the installer from the Direct link below first. Run an elevated terminal (Run as Administrator) for machine-scope installs.

ArchitectureScopeTypeSilent switchesSource
x64machineEXE
NSIS
Default for NSIS (Nullsoft)
  • Declared by publisher means the switches come straight from the winget manifest the publisher (or community maintainer) submitted to microsoft/winget-pkgs.
  • Default for {type} means the manifest doesn't specify silent switches, so the framework's standard switches are shown (e.g. /S for NSIS, /quiet /norestart for MSI).

Frequently asked questions

What is the silent install command for sfdx-cli?
sfdx-cli uses EXE (NSIS). After downloading the installer, run: sfdx-x64.exe /S. The silent install switches are /S.
How do I deploy sfdx-cli via Intune or Configuration Manager?
Use winget for the cleanest path: winget install --id Salesforce.sfdx-cli --exact 7.209.6 --silent --accept-package-agreements --accept-source-agreements. If winget isn't viable in your environment, package the publisher's installer directly using the silent switches above.

Prefer the winget route? See the full sfdx-cli install page.