If you are running Windows,<br/>run the following in a powershell session (as a non-admin user).
<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 $false</span></span></pre><buttonclass="tooltip"onclick="copyToClipboardPowershell()"><imgsrc="copy.svg"alt=""/><spanclass="tooltiptext">Copy to clipboard</span></button></div>
<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>