The exact silent switches the Git installer accepts, plus a one-line command you can paste into a script, Intune Win32 app, or Configuration Manager package.
Git-2.54.0.vfs.0.2-64-bit.exe /SP- /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /COMPONENTS=icons,ext,gitlfs,assoc,assoc_sh,consolefont,windowsterminal,scalar
Run from the directory containing Git-2.54.0.vfs.0.2-64-bit.exe. Download the installer from the Direct link below first.
| Architecture | Scope | Type | Silent switches | Source |
|---|---|---|---|---|
| x64 | user | EXE Inno Setup | Custom: /COMPONENTS=icons,ext,gitlfs,assoc,assoc_sh,consolefont,windowsterminal,scalar | Declared by publisher |
| x64 | machine | EXE Inno Setup | Custom: /COMPONENTS=icons,ext,gitlfs,assoc,assoc_sh,consolefont,windowsterminal,scalar | Declared by publisher |
| arm64 | user | EXE Inno Setup | Custom: /COMPONENTS=icons,ext,gitlfs,assoc,assoc_sh,consolefont,windowsterminal,scalar | Declared by publisher |
| arm64 | machine | EXE Inno Setup | Custom: /COMPONENTS=icons,ext,gitlfs,assoc,assoc_sh,consolefont,windowsterminal,scalar | Declared by publisher |
/S for NSIS, /quiet /norestart for MSI).Prefer the winget route? See the full Git install page.