haskell logo


GHCup is the main installer for the general purpose language Haskell.

To install on Linux, macOS, FreeBSD or WSL2

run the following in a terminal (as a non-root user):

            curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org | sh

To install on Windows

run the following in a PowerShell session (as a non-admin user):

          Set-ExecutionPolicy Bypass -Scope Process -Force;[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; try { Invoke-Command -ScriptBlock ([ScriptBlock]::Create((Invoke-WebRequest https://www.haskell.org/ghcup/sh/bootstrap-haskell.ps1 -UseBasicParsing))) -ArgumentList $true } catch { Write-Error $_ }

Need help? Check the Troubleshooting section or ask on IRC , Discord , or report a bug