The core team provides precompiled gleam binaries. Navigate to the GitHub release page for Gleam version you want to install. Under "assets" locate the zip files for your operating system and processor archecture.

In PowerShell run:

$url=GLEAM_ZIP_URL_HERE

curl -o gleam.zip "$url"
curl -o gleam.zip.sha256 "$url.sha256"

Verify the checksum is correct. If this command does not print True then delete both files and start again.

(Get-FileHash '.\gleam.zip').Hash -eq (Get-Content .\gleam.zip.sha256).Split[0]

Extract the gleam program from the zip archive.

Expand-Archive gleam.zip -DestinationPath .

Place the binary in a directory on your PATH.

$directory="~\AppData\Local\Programs\gleam"

mkdir $directory
mv gleam.exe $directory

$path = [Environment]::GetEnvironmentVariable("PATH", "User")
[Environment]::SetEnvironmentVariable("PATH", "$path;$directory", [EnvironmentVariableTarget]::User)