Commands for installing Quarto without prompts, removing it again and detecting it from deployment tools. A command is shown only when it is certain: from the manifest or the installer technology’s documented default.
Related guide: Silent install switches: MSI, NSIS, Inno Setup · Uninstall a program with the registry or PowerShell
With winget
PowerShell
winget install --id Posit.Quarto -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Posit.Quarto -e --silentwinget uninstall --id Posit.Quarto -e --silentBy installer
64-bit · MSI
Silent install
msiexec /i quarto-1.10.19-win.msi /qn /norestartWrite a log
msiexec /i quarto-1.10.19-win.msi /qn /norestart /l*v "%TEMP%\quarto-install.log"Uninstall
msiexec /x {D038E6FE-B306-467C-953B-49AD80B0A6CD} /qn /norestart- MSI product code
- {D038E6FE-B306-467C-953B-49AD80B0A6CD}
- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{D038E6FE-B306-467C-953B-49AD80B0A6CD}
- UpgradeCode
- {98FB2E98-96B0-46E1-A6FD-94171233D11B}
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-quarto.ps1
$url = 'https://github.com/quarto-dev/quarto-cli/releases/download/v1.10.19/quarto-1.10.19-win.msi'
$sha256 = '472076E741C1A5042DA9388B4325AD5A5FF9688A67DF0F08B427736829CC93C0'
$file = Join-Path $env:TEMP 'quarto-1.10.19-win.msi'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process msiexec.exe -ArgumentList '/i', ('"{0}"' -f $file), '/qn', '/norestart' -Wait