# Installing QNSQY on Windows

QNSQY Standard edition, for 64-bit Windows 10 and 11. The current version is on the [download page](https://quantumsequrity.com/download); `<version>` below stands for it.

**Last updated:** 2026-11-23

---

## Requirements

| Item | Requirement |
|------|-------------|
| Windows | Windows 10 (1809 or later) or Windows 11, 64-bit (x64). There is no ARM build. |
| Rights | Administrator rights to run the installer. The portable program needs none. |
| Network | Needed to download. Paid plans check in with our billing server (the answer is cached for up to 7 days of offline work). Password encryption, ML-KEM-512 and ML-DSA-44 work offline without an account. |

---

## Install

### PowerShell installer

```powershell
irm https://quantumsequrity.com/downloads/install.ps1 | iex
```

The script:

1. downloads `checksums.txt`, its ML-DSA-87 signature, the portable program and the installer from `https://cdn.quantumsequrity.com/windows/`;
2. checks the SHA-256 of both programs against `checksums.txt`;
3. checks the ML-DSA-87 signature on `checksums.txt` with the downloaded portable program;
4. runs the installer, which asks for administrator rights.

A failed check stops the install. If the signature file is missing from the CDN, the script warns and continues with the SHA-256 check only; set `$env:QNSQY_RELEASE_PUBKEY_REQUIRED = "1"` before running it to stop in that case instead.

The script checks the signature with the public key inside the program it just downloaded. For high-assurance installs, set `$env:QNSQY_RELEASE_PUBKEY` to the release public key obtained another way, so the check does not rely on the program being checked.

### Installer or portable program

Download from [the download page](https://quantumsequrity.com/download):

- `qnsqy-setup-<version>.exe`: the installer.
- `qnsqy-<version>-x86_64.exe`: the portable program. It runs from any folder, installs nothing and adds nothing to your PATH.

Check the file before you run it, as described in the [release signing procedure](https://quantumsequrity.com/downloads/SIGNING_PROCEDURE.md):

```powershell
Invoke-WebRequest https://cdn.quantumsequrity.com/windows/checksums.txt     -OutFile checksums.txt
Invoke-WebRequest https://cdn.quantumsequrity.com/windows/checksums.txt.sig -OutFile checksums.txt.sig
Get-FileHash .\qnsqy-setup-*.exe -Algorithm SHA256
Select-String -Path checksums.txt -Pattern 'qnsqy-setup-'
# After installing, check the signature on the list itself:
qnsqy verify-release checksums.txt checksums.txt.sig
```

A matching SHA-256 alone only proves the file matches the list; the ML-DSA-87 signature proves the list came from us.

### What the installer does

- Installs `qnsqy.exe` to `C:\Program Files\QNSQY` and adds that folder to the system PATH. The one program contains the command line, the desktop app, the terminal app and the MCP server.
- Adds QNSQY to the Start menu and the desktop. These shortcuts open the desktop app.
- Opens `.qs`, `.qnsqy`, `.qsig` and `.qsv` files with QNSQY.
- Registers an uninstaller in Settings, Apps.

---

## SmartScreen

The installer and the portable program are not Authenticode-signed yet, so SmartScreen may warn on first run ("Windows protected your PC"). Check the SHA-256 and the ML-DSA-87 signature as above before you choose "More info" and "Run anyway". Do not add antivirus exclusions for QNSQY; if your antivirus flags a file whose checksum and signature match, write to security@quantumsequrity.com.

---

## First run

Open a new PowerShell window (so the new PATH applies):

```powershell
qnsqy --version
echo "hello" > test.txt
qnsqy --acknowledge-no-sandbox encrypt -i test.txt      # asks for a password, writes test.txt.qs
qnsqy --acknowledge-no-sandbox decrypt -i test.txt.qs   # restores test.txt
```

- Desktop app: QNSQY in the Start menu, or `qnsqy --gui --acknowledge-no-sandbox`.
- Terminal app: `qnsqy --tui --acknowledge-no-sandbox`.
- MCP server for AI agents: `qnsqy --mcp` (see [For AI Agents](https://quantumsequrity.com/agents)).

---

## The --acknowledge-no-sandbox option

On Windows, every command except `--help`, `--version`, `help` and `version` needs `--acknowledge-no-sandbox`. It confirms that you know the Linux kernel sandbox does not exist on Windows.

What QNSQY does on Windows instead:

- **Run as administrator:** after the licence check, QNSQY adds an outbound Windows Firewall rule that blocks its own traffic for the duration of each cryptographic operation, and removes it afterwards. Other programs keep their network.
- **Run as a standard user:** no block is applied, and QNSQY warns. For full isolation, disconnect the network before you run it.

Your files, passwords and keys never leave the machine either way. The network traffic is the licence check with billing.quantumsequrity.com and, only if you set up remote backup (push, pull, sync), ciphertext sent to the storage you choose.

---

## Uninstall

Settings, Apps, QNSQY, Uninstall; or run `C:\Program Files\QNSQY\Uninstall.exe`. The portable program is removed by deleting the file.

Optional: remove settings and data. This also deletes your local audit log and your stored sign-in; it does not touch your encrypted files.

```powershell
Remove-Item -Recurse -Force "$env:APPDATA\qnsqy"
```

---

## Troubleshooting

- **"qnsqy is not recognized":** open a new PowerShell window, so the PATH change applies. The portable program is not on the PATH: run it by its full path.
- **"requires --acknowledge-no-sandbox":** add the option, as shown above.
- **SmartScreen blocks the program:** see [SmartScreen](#smartscreen).

Questions: support@quantumsequrity.com. Security reports: security@quantumsequrity.com.
