<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">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.</br>You appear to be running Windows 32-bit. If not, <aclass="default-platform-button"href="#">display all supported installers</a>.</p>
<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.</br>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>
</div>
<hr/>
<div>
<p>
If you are running Windows,<br/>follow the instructions on
<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>
</div>
<hr/>
<div>
<p>
If you are running Windows,<br/>follow the instructions on
Need help? Ask on <ahref="https://kiwiirc.com/nextclient/irc.libera.chat/#haskell-ghcup">#haskell-ghcup</a>, <ahref="https://kiwiirc.com/nextclient/irc.libera.chat/#haskell">#haskell</a> or <ahref="https://gitlab.haskell.org/haskell/ghcup-hs/issues">report a bug</a>.
<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>
</div>
<hr/>
<div>
<p>
If you are running Windows,<br/>follow the instructions on
Need help? Ask on <ahref="https://kiwiirc.com/nextclient/irc.libera.chat/#haskell-ghcup">#haskell-ghcup</a>, <ahref="https://kiwiirc.com/nextclient/irc.libera.chat/#haskell">#haskell</a> or <ahref="https://gitlab.haskell.org/haskell/ghcup-hs/issues">report a bug</a>.