Wingetlywingetly
← Back to Haskell Stack

Silent install command for Haskell Stack 3.11.1

The exact silent switches the Haskell Stack 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, user scope)
stack-3.11.1-windows-x86_64-installer.exe /S

Run from the directory containing stack-3.11.1-windows-x86_64-installer.exe. Download the installer from the Direct link below first.

ArchitectureScopeTypeSilent switchesSource
x64userEXE
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 Haskell Stack?
Haskell Stack uses EXE (NSIS). After downloading the installer, run: stack-3.11.1-windows-x86_64-installer.exe /S. The silent install switches are /S.
How do I deploy Haskell Stack via Intune or Configuration Manager?
Use winget for the cleanest path: winget install --id commercialhaskell.stack --exact 3.11.1 --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 Haskell Stack install page.