Install YouSage

Windows 10 and 11 (x64)

Install with an AI agent

Paste this page’s link into a chat with an AI agent that can run PowerShell on your Windows PC.

PowerShell

Paste the whole block into PowerShell. It downloads the latest setup wizard from GitHub, checks its SHA-256 hash, and installs YouSage for your Windows account.

& {
  $ErrorActionPreference = 'Stop'
  $release = Invoke-RestMethod 'https://api.github.com/repos/yabswannalearn/yousage/releases/latest'
  $asset = $release.assets | Where-Object name -eq 'YouSage-x64-setup.exe' | Select-Object -First 1
  if (-not $asset -or $asset.digest -notmatch '^sha256:[a-f0-9]{64}$') {
    throw 'The latest YouSage release is missing a setup wizard or its checksum.'
  }

  $installer = Join-Path $env:TEMP "YouSage-$([guid]::NewGuid()).exe"
  try {
    Invoke-WebRequest -Uri $asset.browser_download_url -OutFile $installer -UseBasicParsing
    $digest = 'sha256:' + (Get-FileHash -LiteralPath $installer -Algorithm SHA256).Hash
    if ($digest -ne $asset.digest) { throw 'YouSage setup checksum does not match.' }

    $setup = Start-Process -FilePath $installer -ArgumentList '/S' -Wait -PassThru
    if ($setup.ExitCode -ne 0) { throw "YouSage setup exited with code $($setup.ExitCode)." }
    Write-Output "YouSage $($release.tag_name) installed. Open it from the Start menu."
  } finally {
    Remove-Item -LiteralPath $installer -ErrorAction SilentlyContinue
  }
}