haskell logo


GHCup is an 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;Invoke-Command -ScriptBlock ([ScriptBlock]::Create((Invoke-WebRequest https://www.haskell.org/ghcup/sh/bootstrap-haskell.ps1 -UseBasicParsing))) -ArgumentList $true


Need help? Ask on IRC, Discord, or report a bug