> ## 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 profiles

> List the profiles of a bach.toml: other builds of the app, like a portable ZIP or a machine-wide company version, and the files they write.

`bach profiles` lists the profiles of `bach.toml` and the file each one writes. See [`[profiles]`](/docs/reference/config/profiles) for how to define them.

```bash theme={"theme":{"light":"github-light","dark":"github-dark"}}
bach profiles                       # list them
bach build --profile enterprise     # build one (repeat --profile for several)
bach build --all-profiles           # the main setup file and every profile
bach check --profile portable       # read one without building
bach preview --profile enterprise   # open its installer window
```

`--json` prints `profiles` with `name`, `kind`, `description`, `output` and `problem`. A profile that can't be built yet says why instead of its file.


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