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

# [text]: every text in the window

> Every text name the install and removal window uses, its English wording and placeholders, so you can replace any of them in one or several languages.

`[text]` replaces any built-in text in the window. Each entry is a text name from the tables below, with your wording. All texts are translated into 19 languages; your entry replaces the translation for the languages you give.

```toml bach.toml theme={"theme":{"light":"github-light","dark":"github-dark"}}
[text]
install_title = { en = "Get {name}", de = "Hol dir {name}" }
footer = "Made with care by {publisher}"
```

A single string applies to every language. If the window offers several languages and you give only one, `bach check` warns.

Every text can use `{name}`, `{version}` and `{publisher}`. Other placeholders work only in the texts that show them below. `install_subtitle` can also use `{description}`. An unknown name or placeholder is an error.

## Install, update and reinstall

| Name | English |
| - | - |
| `window_install` | {name} Setup |
| `install_title` | Install {name} |
| `install_subtitle` | (empty: the app's description) |
| `install_button` | Install |
| `reinstall_title` | Reinstall {name} |
| `reinstall_subtitle` | {name} {version} is already installed. Reinstalling keeps your data. |
| `reinstall_button` | Reinstall |
| `repair_button` | Repair |
| `update_title` | Update {name} |
| `update_subtitle` | {name} {old_version} is installed. This updates it to {version} and keeps your data. |
| `update_button` | Update |
| `downgrade_title` | Install an older {name}? |
| `downgrade_subtitle` | {name} {old_version} is installed, which is newer than {version}. Installing this version replaces it and keeps your data. |
| `downgrade_button` | Install anyway |
| `overwrite_title` | This folder already has files |
| `overwrite_subtitle` | Installing {name} here replaces {files}. They aren't files of {name} and are lost for good. Choose another folder to keep them. |
| `license_title` | License agreement |
| `license_subtitle` | Please read the terms before you install {name}. |
| `license_accept` | I agree |
| `location` | Location |
| `choose_folder` | Choose where to install {name} |
| `footer` | {publisher} · Version {version} |
| `preview` | Preview |

## Options

| Name | English |
| - | - |
| `desktop_shortcut` | Desktop shortcut |
| `desktop_shortcut_description` | Start {name} from your desktop too. |
| `start_menu` | Start menu |
| `start_menu_description` | Find {name} in the Start menu. |
| `start_with_windows` | Start with Windows |
| `start_with_windows_description` | Open {name} automatically when you sign in. |
| `add_to_path` | Add to PATH |
| `add_to_path_description` | Run {name} from any terminal. |
| `auto_update` | Automatic updates |
| `auto_update_description` | Install new versions of {name} in the background while it isn't running. |
| `component_download` | {size} download |

## Buttons

| Name | English |
| - | - |
| `cancel` | Cancel |
| `close` | Close |
| `retry` | Try again |
| `change` | Change |
| `open` | Open {name} |
| `open_short` | Open |
| `website` | Website |
| `feedback` | Tell us why |

## Progress

| Name | English |
| - | - |
| `installing` | Installing {name} |
| `updating` | Updating {name} |
| `removing` | Removing {name} |
| `step_preparing` | Getting ready |
| `step_copying` | Copying {name} |
| `step_tidying` | Tidying up |
| `step_uninstaller` | Adding the uninstaller |
| `step_shortcuts` | Adding shortcuts |
| `step_registering` | Adding {name} to your apps |
| `step_running` | Setting up {task} |
| `step_migrating` | Removing the old version of {name} |
| `step_downloading` | Downloading the update |
| `step_finding` | Finding the latest version |
| `step_fetching` | Downloading {name} |
| `step_removing` | Removing {name} |
| `step_removing_shortcuts` | Removing shortcuts |
| `step_unregistering` | Removing {name} from your apps |
| `step_deleting_data` | Deleting your data |
| `step_cleaning` | Cleaning up |
| `step_done` | Done |

## Done and removal

| Name | English |
| - | - |
| `installed_title` | {name} is installed |
| `installed_subtitle` | Find it in the Start menu, or open it now. |
| `installed_subtitle_plain` | {name} is ready to use. |
| `updated_title` | {name} is up to date |
| `window_remove` | Remove {name} |
| `remove_title` | Remove {name} |
| `remove_subtitle` | This removes {name} and its shortcuts from this computer. |
| `remove_button` | Remove |
| `delete_data` | Also delete my data |
| `delete_data_description` | Settings and files {name} saved on this computer. |
| `removed_title` | {name} is removed |
| `removed_subtitle` | Thanks for using {name}. |
| `removed_data_deleted` | Its data is gone too. |
| `removed_data_kept` | Your data is kept, in case you install it again. |

## Requirements and access key

| Name | English |
| - | - |
| `requirement_title` | {requirement} is needed |
| `requirement_subtitle` | {name} needs {requirement} to run. Install it, then come back here. |
| `requirement_button` | Get {requirement} |
| `requirement_skip` | Continue anyway |
| `access_title` | Enter your access key |
| `access_subtitle` | {name} is protected. Enter the key you were given to continue. |
| `access_hint` | Access key |
| `access_button` | Continue |
| `access_paste` | Paste |
| `access_get` | Get a key |
| `access_wrong` | That key doesn't fit. Check it and try again. |

## Errors

| Name | English |
| - | - |
| `install_failed` | {name} couldn't be installed |
| `update_failed` | {name} couldn't be updated |
| `remove_failed` | {name} couldn't be removed |
| `error_still_open` | {name} is still open. Close it, then try again. |
| `close_app` | Close and continue |
| `error_close_app` | {name} didn't close. Save your work in it, close it, then try again. |
| `error_in_use` | {path} is in use. Close {name}, then try again. |
| `error_busy` | Another setup for {name} is running. Finish it first, then try again. |
| `error_disk_full` | There isn't enough free space. {name} needs {size}, but only {free} is free. Free up some space, then try again. |
| `error_no_access` | Setup can't write to {path}. Choose another folder, then try again. |
| `error_unsafe_folder` | Other users can change {path}, so {name} can't run from it with administrator rights. Delete the folder or correct its permissions, then try again. |
| `error_create` | Couldn't create {path}. |
| `error_write` | Couldn't write {path}. |
| `error_delete` | Couldn't delete {path}. |
| `error_delete_data` | Couldn't delete your data in {path}. |
| `error_shortcut` | Couldn't add the shortcut {path}. |
| `error_not_found` | Couldn't find {name} in {path}. It may already be removed. |
| `error_read_setup` | Couldn't read this setup file. Download it again. |
| `error_damaged` | This setup file is damaged. Download it again. |
| `error_uninstaller` | Couldn't add the uninstaller. |
| `error_register` | Couldn't list {name} under Settings › Apps. |
| `error_unregister` | Couldn't take {name} off Settings › Apps. |
| `error_system` | Couldn't change a Windows setting for {name}. |
| `error_open_failed` | {name} is installed, but it didn't start: {error} |
| `error_run` | {task} couldn't be set up (exit code {code}). Try again. |
| `error_msi` | Windows Installer couldn't finish (error {code}) and undid what it had changed. Try again. |
| `error_download` | Couldn't download the update. {error} |
| `error_fetch` | Couldn't download {name}. Check your internet connection, then try again. {error} |
| `error_patch_base` | This update is for another version of {name}. Download the full setup file instead. |
| `problem_title` | Nothing to install |
| `problem_damaged` | This setup file is damaged: {error}. Download it again. |
| `support_save` | Save support info |
| `support_saved` | Saved on your desktop |
| `support_failed` | Couldn't save the support info |

## macOS wording

The Mac window uses these instead of the Windows texts: `mac_start_menu`, `mac_start_menu_description`, `mac_start_with_windows`, `mac_start_with_windows_description`, `mac_installed_subtitle`, `mac_error_register`, `mac_error_unregister` and `mac_error_system`, for "Applications", "Open at login" and similar.


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