<p>On Linux, run the following in your terminal (as a user other than root), then follow the onscreen instructions.</p>
<divclass="command-button"><pre><spanclass='ghcup-command'>curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org | sh</span></pre><buttonclass="tooltip"onclick="copyToClipboard()"><imgsrc="copy.svg"alt=""/><spanclass="tooltiptext">Copy to clipboard</span></button></div>
<pclass="other-help"><ahref="https://gitlab.haskell.org/haskell/ghcup-hs/-/blob/master/scripts/bootstrap/bootstrap-haskell"target="_blank">What does this do?</a><b> · </b><ahref="https://gitlab.haskell.org/haskell/ghcup-hs#manual-install">I don't like curl | sh</a><b> · </b><aclass="default-platform-button"href="#">I'm not running Linux</a></p>
<pclass="other-help"><ahref="https://gitlab.haskell.org/haskell/ghcup-hs/-/blob/master/scripts/bootstrap/bootstrap-haskell"target="_blank">What does this do?</a><b> · </b><ahref="https://gitlab.haskell.org/haskell/ghcup-hs#manual-install">I don't like curl | sh</a><b> · </b><aclass="default-platform-button"href="#">I'm not running macOS</a></p>
<pclass="other-help"><ahref="https://gitlab.haskell.org/haskell/ghcup-hs/-/blob/master/scripts/bootstrap/bootstrap-haskell"target="_blank">What does this do?</a><b> · </b><ahref="https://gitlab.haskell.org/haskell/ghcup-hs#manual-install">I don't like curl | sh</a><b> · </b><aclass="default-platform-button"href="#">I'm not running FreeBSD</a></p>
<divclass="command-button"><pre><spanclass='ghcup-command'>curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org | sh</span></pre><buttonclass="tooltip"onclick="copyToClipboard()"><imgsrc="copy.svg"alt=""/><spanclass="tooltiptext">Copy to clipboard</span></button>
</div>
<pclass="other-help">WSL1 does not work with ghcup, follow <ahref="https://docs.microsoft.com/en-us/windows/wsl/install-win10">the instructions here</a> to upgrade to WSL2 if needed.</p>
<pclass="other-help"><ahref="https://gitlab.haskell.org/haskell/ghcup-hs/-/blob/master/scripts/bootstrap/bootstrap-haskell.ps1"target="_blank">What does this do?</a><b> · </b><aclass="default-platform-button"href="#">I'm not running Windows</a></p>
<pclass="other-help"><ahref="https://gitlab.haskell.org/haskell/ghcup-hs/-/blob/master/scripts/bootstrap/bootstrap-haskell.ps1"target="_blank">What does this do?</a><b> · </b><aclass="default-platform-button"href="#">I'm not running Windows</a></p>
<divclass="command-button"><pre><spanclass='ghcup-command'>curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org | sh</span></pre><buttonclass="tooltip"onclick="copyToClipboard()"><imgsrc="copy.svg"alt=""/><spanclass="tooltiptext">Copy to clipboard</span></button>
</div>
<pclass="other-help">WSL1 does not work with ghcup, follow <ahref="https://docs.microsoft.com/en-us/windows/wsl/install-win10">the instructions here</a> to upgrade to WSL2 if needed.</p>
<pclass="other-help"><ahref="https://gitlab.haskell.org/haskell/ghcup-hs/-/blob/master/scripts/bootstrap/bootstrap-haskell"target="_blank">What does this do?</a><b> · </b><aclass="default-platform-button"href="#">I'm not running Windows</a></p>
<p>If you are running Linux, macOS, FreeBSD or Windows Subsystem 2 for Linux, run the following in your terminal (as a user other than root), then follow the onscreen instructions.</p>
<pclass="other-help"><ahref="https://gitlab.haskell.org/haskell/ghcup-hs/-/blob/master/scripts/bootstrap/bootstrap-haskell"target="_blank">What does this do?</a><b> · </b><ahref="https://gitlab.haskell.org/haskell/ghcup-hs#manual-install">I don't like curl | sh</a></p>
<pclass="other-help"><ahref="https://gitlab.haskell.org/haskell/ghcup-hs/-/blob/master/scripts/bootstrap/bootstrap-haskell"target="_blank">What does this do?</a><b> · </b><ahref="https://gitlab.haskell.org/haskell/ghcup-hs#manual-install">I don't like curl | sh</a></p>
<pclass="other-help"><ahref="https://gitlab.haskell.org/haskell/ghcup-hs/-/blob/master/scripts/bootstrap/bootstrap-haskell.ps1"target="_blank">What does this do?</a></p>
Need help? Ask on <ahref="https://kiwiirc.com/nextclient/irc.libera.chat/?nick=Guest%7C?#haskell,#haskell-ghcup"><imgsrc="irc.svg"height="18px"alt=""/>IRC</a>, <ahref="https://discord.gg/pKYf3zDQU7"><imgsrc="Discord-Logo-Black.svg"height="18px"alt=""/>Discord</a>, <ahref="https://app.element.io/#/room/#haskell-tooling:matrix.org"><imgsrc="Matrix_logo.svg"height="25px"alt=""style="top:5px;position:relative;"/></a> or <ahref="https://gitlab.haskell.org/haskell/ghcup-hs/issues">report a bug <imgsrc="Octicons-bug.svg"height="18px"alt=""/></a>.