Skip to main content
Something not working? Find your question below. Two tools answer many of them: bach doctor checks that your computer can build, and every setup writes a log to %TEMP%\<app id>-setup.log.

Building

Installing

After installing

Installing Bach itself

bach isn’t recognized

Open a new terminal; PATH changes only reach new ones. If it still fails, call it by its full path, such as %LOCALAPPDATA%\Programs\bach-cli\bach.exe, or reinstall with one of the install methods.

An old version of bach runs

Another copy comes first on your PATH. Run where.exe bach (Windows) or which -a bach and remove the one you don’t want.

npm says EACCES or permission denied

Don’t use sudo. Give npm a folder of your own: npm config set prefix ~/.npm-global, add its bin folder to PATH, and install again.

”The bach program for … isn’t installed”

npm skipped the platform package because it ran with --omit=optional. Install again without that option.

npm says 404 for @usebach/cli

A version published minutes ago may not be everywhere yet. Wait and retry, and check npm config get registry if it keeps happening.

install.ps1 refuses a folder

It only writes into a folder it created. Set BACH_INSTALL_DIR to an empty folder.

”The download doesn’t match its published SHA-256”

Nothing was installed. Try again, or download the zip from the releases page.

Still stuck?

See Getting help.