--- hide: - navigation - toc ---
haskell logo

GHCup

GHCup is an installer for the general purpose language Haskell.

Getting Started First steps User Guide

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? Check the Troubleshooting section or ask on IRC , Discord , or report a bug

---- ![GHCup](./ghcup.gif){: .center style="width:700px"}