<p>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">If you don't like curl | sh, see <ahref="https://gitlab.haskell.org/haskell/ghcup-hs#manual-install">other installation methods</a>.<br/>You appear to be running Linux. If not, <aclass="default-platform-button"href="#">display all supported installers</a>.</p>
<pclass="other-help">If you don't like curl | sh, see <ahref="https://gitlab.haskell.org/haskell/ghcup-hs#manual-install">other installation methods</a>.<br/>You appear to be running macOS. If not, <aclass="default-platform-button"href="#">display all supported installers</a>.</p>
<p>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">If you don't like curl | sh, see <ahref="https://gitlab.haskell.org/haskell/ghcup-hs#manual-install">other installation methods</a>.<br/>You appear to be running FreeBSD. If not, <aclass="default-platform-button"href="#">display all supported installers</a>.</p>
<pclass="other-help">If you want to run a non-interactive installation, change <spanclass='code'>$true</span> to <spanclass='code'>$false</span> at the end of the script.</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">You appear to be running Windows 32-bit. If not, <aclass="default-platform-button"href="#">display all supported installers</a>.</p>
<pclass="other-help">If you want to run an non-interactive installation, change <spanclass='code'>$true</span> to <spanclass='code'>$false</span> at the end of the script.</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>
</div>
<pclass="other-help">You appear to be running Windows 64-bit. If not, <aclass="default-platform-button"href="#">display all supported installers</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>
<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">If you don't like curl | sh, see <ahref="https://gitlab.haskell.org/haskell/ghcup-hs#manual-install">other installation methods</a>.</p>
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">If you don't like curl | sh, see <ahref="https://gitlab.haskell.org/haskell/ghcup-hs#manual-install">other installation methods</a>.</p>
<divclass="command-button"><pre><spanclass='ghcup-command'>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</span></span></pre><buttonclass="tooltip"onclick="copyToClipboardPowershell()"><imgsrc="copy.svg"alt=""/><spanclass="tooltiptext">Copy to clipboard</span></button>
</div>
<pclass="other-help">If you want to run a non-interactive installation, change <spanclass='code'>$true</span> to <spanclass='code'>$false</span> at the end of the script.</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">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>.