熱門: 資料更新於2026年10月26日

軟體分類

網路軟體1,355
通訊社群321
影音軟體898
繪圖與影像539
辦公軟體1,120
開發工具3,132
AI工具527
安全與隱私385
系統工具3,113
遊戲523
教育與科學239
網路與IT284

Haskell Stack靜默安裝與解除安裝參數

Stack is a cross-platform program for developing Haskell projects. It is aimed at Haskellers both new and experienced.

commercialhaskell IDE與程式碼編輯器 #28 IDE與程式碼編輯器

免互動安裝Haskell Stack、解除安裝,以及在部署工具中偵測安裝狀態所用的指令。只列出確定可用的指令:來自資訊清單,或是安裝程式技術的官方預設參數。

相關教學: 靜默安裝參數總整理:MSI、NSIS、Inno Setup · 用登錄檔或PowerShell解除安裝程式

使用winget

PowerShell
winget install --id commercialhaskell.stack -e --silent --accept-package-agreements --accept-source-agreements
winget upgrade --id commercialhaskell.stack -e --silent
winget uninstall --id commercialhaskell.stack -e --silent

依安裝檔

64位元 · EXE(NSIS) · 僅目前使用者 · en-US

靜默安裝stack-3.11.1-windows-x86_64-installer.exe /S
自訂安裝資料夾stack-3.11.1-windows-x86_64-installer.exe /S /D=C:\Apps\haskell-stack
解除安裝登錄機碼
HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Haskell Stack
安裝資料夾
%AppData%\local\bin

PowerShell:下載、驗證、安裝

下載官方檔案,驗證SHA256後靜默安裝。

install-haskell-stack.ps1
$url = 'https://github.com/commercialhaskell/stack/releases/download/v3.11.1/stack-3.11.1-windows-x86_64-installer.exe'
$sha256 = 'CBAFD92B9FB1AC87B5F06C6BBA08D47D54503BCD48EC78BC6E9923B44FF3805C'
$file = Join-Path $env:TEMP 'stack-3.11.1-windows-x86_64-installer.exe'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process -FilePath $file -ArgumentList '/S' -Wait

IDE與程式碼編輯器熱門排行

查看全部
  1. OpenCodeIDE與程式碼編輯器 · OpenCode
  2. RStudioIDE與程式碼編輯器 · Posit Software
  3. Node.js (LTS)IDE與程式碼編輯器 · Node.js Foundation
  4. Apache NetBeansIDE與程式碼編輯器 · Apache NetBeans
  5. VSCodiumIDE與程式碼編輯器 · VSCodium
  6. HaxeIDE與程式碼編輯器 · Haxe Foundation
  7. ThonnyIDE與程式碼編輯器 · Aivar Annamaa
  8. GDevelopIDE與程式碼編輯器 · GDevelop Team
  9. mkcertIDE與程式碼編輯器 · FiloSottile
  10. ProcessingIDE與程式碼編輯器 · Processing Foundation

標籤

分享