bach doctor: it says exactly what is missing.
When building
couldn't get bach-setup.exe ...
couldn't get bach-setup.exe ...
bach-setup.exe next to bach, or pass --runtime PATH, or set BACH_RUNTIME. Download the zip from the releases page if you need the file. If BACH_NO_DOWNLOAD is set, bach never downloads it. See Install Bach.app.executable is "...", but there is no such file
app.executable is "...", but there is no such file
[files] source and [app] executable. Both are relative: source is relative to bach.toml, and executable is relative to source.... is a symbolic link
... is a symbolic link
couldn't replace ... (is it open?)
couldn't replace ... (is it open?)
bach preview ... needs Windows
bach preview ... needs Windows
bach check on macOS and Linux.requirements[0]. ...
requirements[0]. ...
kind one of webview2, dotnet, vcredist, file or registry. file and registry need a name and an https url. See [[requirements]].A warning about a text given in one language
A warning about a text given in one language
[text] entry exists in only one language while the window speaks several. Add the other languages or limit installer.languages.The setup file shows Bach's icon
The setup file shows Bach's icon
app.icon is not applied. Build on Windows.When installing
The installer says a newer version is installed
The installer says a newer version is installed
version above the installed one, or pass --allow-downgrade on a silent run.The installer says the app is still open
The installer says the app is still open
A requirement page appears
A requirement page appears
1 instead.The disk is full
The disk is full
--dir on a silent run.Windows SmartScreen warns about the download
Windows SmartScreen warns about the download
When installing Bach itself
npm install says 404 Not Found for @usebach/cli
npm install says 404 Not Found for @usebach/cli
npm config get registry (it should be https://registry.npmjs.org/) and your proxy or company registry, then try the install script from Install Bach.The bach program for ... isn't installed
The bach program for ... isn't installed
--omit=optional (or --no-optional) and skipped the platform package that holds the program. Install again without that flag: npm install --global @usebach/cli.npm install fails with EACCES or permission denied
npm install fails with EACCES or permission denied
sudo. Give npm a global folder of your own once, add its bin folder to your PATH, and install again: npm config set prefix ~/.npm-global.bach is found, but it's an older version
bach is found, but it's an older version
PATH, for example one from install.ps1. Run where bach (Windows) or which -a bach to see them, and remove the one you don’t want. npm uninstall --global @usebach/cli removes the npm copy.install.ps1 refuses a folder
install.ps1 refuses a folder
BACH_INSTALL_DIR to an empty folder.install.ps1 cannot replace a file
install.ps1 cannot replace a file
bach, then run the script again.bach is not found after installing
bach is not found after installing
PATH, which only new terminals see. In the same terminal, call it by its full path.The download does not match its SHA-256
The download does not match its SHA-256
Read the log
Every setup run writes%TEMP%\<app id>-setup.log, or the file you pass with --log. It names the steps and, when something fails, why. Read it instead of guessing, and attach it to a bug report.
Still stuck?
Open a bug report with a smallbach.toml that shows the problem, the output of bach doctor, and the setup log. See Support.