--- hide: - navigation - toc --- # ![](./haskell_logo.png){: .main-logo style="width:100px"} GHCup

GHCup is an installer for the general purpose language Haskell.

Join the chat at Libera.chat Join the chat at Matrix.org Join the chat at Discord Join the chat at https://gitter.im/haskell/ghcup
---- GHCup makes it easy to install specific versions of GHC on GNU/Linux, macOS (aka Darwin), FreeBSD and Windows and can also bootstrap a fresh [Haskell developer environment](./install/#supported-tools) from scratch. It follows the unix UNIX philosophy of [do one thing and do it well](https://en.wikipedia.org/wiki/Unix_philosophy#Do_One_Thing_and_Do_It_Well). Similar in scope to [rustup](https://github.com/rust-lang-nursery/rustup.rs), [pyenv](https://github.com/pyenv/pyenv) and [jenv](http://www.jenv.be).
Quick Install Getting Started User Guide Issue tracker
[![GHCup](./ghcup.gif){: .center style="width:700px"}](install#installation)

Quick Install

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
          

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