Install on Windows¶
Works on Windows 10 and 11 and Windows Server 2019 or later, on x64 and ARM.
1. Run the installer¶
Open PowerShell (no admin rights needed) and run:
irm https://github.com/Sandaal/ai-app-server/releases/latest/download/install.ps1 -OutFile install.ps1
powershell -ExecutionPolicy Bypass -File install.ps1
The script:
- picks the right download for your CPU,
- checks it against
SHA256SUMS, - installs
aiapp.exeto%LOCALAPPDATA%\Programs\aiappand adds it to your PATH, - tells you whether Python or uv is ready.
Open a new terminal afterwards so the PATH change takes effect, then check: aiapp version.
2. Python¶
If the installer says Python isn't ready, install uv (recommended):
Use python.org or uv, not the Microsoft Store Python
The server limits each app's memory with a Windows job object. The Microsoft Store build of Python runs outside it, so memory limits can't be enforced; the server warns when it sees it.
3. Start the server¶
Your data goes to %USERPROFILE%\.aiapp. Leave the window open and use a second terminal for other commands.
Options¶
| Option | Command |
|---|---|
| Start automatically when you sign in | powershell -ExecutionPolicy Bypass -File install.ps1 -Service |
| A specific version | ... install.ps1 -Version v3.0.0 |
| Offline install | download the zip and SHA256SUMS from Download, then ... install.ps1 -Archive .\aiapp_3.0.0_windows_amd64.zip |
| By hand | unzip anywhere and add the folder with aiapp.exe to your PATH |
Serve other machines¶
By default only this computer can reach the server. To serve your network:
- Read the Security checklist and require keys or sign-in for each app.
- Start with
aiapp serve --addr 0.0.0.0:8080, and allow port 8080 in Windows Defender Firewall. - Put HTTPS in front (IIS with Application Request Routing, or a reverse proxy).
Next: connect a model.