> ## Documentation Index
> Fetch the complete documentation index at: /docs/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Bach builds Windows installers from one bach.toml with the bach command: bach init, bach check, bach preview, bach build. Installs are per user and need no administrator rights by default. installer.scope = "machine" installs for every user after one Windows prompt. On Windows, run setup files with Start-Process -Wait -PassThru in PowerShell, and give signtool arguments that start with the word sign.

# bach page

> bach page writes a one-file download page with your app's name, version, size, download button, install steps and SHA-256 for your website.

`bach page` writes a download page for a setup file as one HTML file. It shows the name, version, publisher and size, a download button, how to install, update and remove, and the SHA-256 with a PowerShell command to check it.

```bash theme={"theme":{"light":"github-light","dark":"github-dark"}}
bach page dist/Hello-Setup-1.4.0.exe --url https://example.com/downloads/Hello-Setup-1.4.0.exe
```

| Argument or flag | Meaning |
| - | - |
| `FILE` | The full setup file |
| `--url URL` | Required. Its `https` download address. |
| `-o`, `--out DIR` | Folder for `index.html`, default `download/` next to the setup file |
| `--notes-file FILE` | What's new, up to 20 KB. Lines starting with `-` or `*` become a list; no other formatting. |
| `--winget ID` | Show `winget install ID` |

The page has no scripts or external files, follows light or dark mode and works on phones. The button uses your accent color, and a PNG logo up to 256 KB is included. The text is in English.

With `--json`: `page`, `sha256`, `size`.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.