- the official release installers
- Homebrew on macOS
- from source with Rust
Choose an install method
| Method | Best for | Notes |
|---|---|---|
| Official installer | Most users | Downloads the latest GitHub release, verifies checksums, installs the binary, and tries to wire up PATH and completions |
| Homebrew | macOS users who already use Homebrew | Quick to install, but shell integration depends on your local Homebrew setup |
| Source install | Contributors and advanced users | Requires Rust and installs from the checked-out code |
Platform support
The current installer scripts support these release targets:| Installer | Supported targets |
|---|---|
install.sh | macOS x86_64, macOS aarch64, Linux x86_64 |
install.ps1 | Windows x86_64 |
- Linux
arm64is not supported byinstall.shtoday - Windows
ARM64is not supported byinstall.ps1today
Recommended: install from the latest release
The official installers are the best default because they:- fetch the latest GitHub release automatically
- download the matching archive for your platform
- verify SHA-256 checksums before installing
- install the binary into a user-local directory
- try to update PATH and install shell completions
macOS and Linux
Windows (PowerShell)
What the installers do
Both installers follow the same safety model:- fetch the latest GitHub release tag
- download the platform-specific archive
- download
checksums.txt - compute the local SHA-256 digest
- abort if the checksum does not match
- install the verified binary into your user-local Bridge directory
Install with Homebrew
If you are on macOS and prefer Homebrew, Bridge is documented in the repo as:bridge on your PATH:
bridge completions <shell>.
Install from source
Source installs are most useful if you are developing Bridge itself or testing changes before a release. Bridge currently declares Rust1.94.1 in its crate metadata, so use a compatible Rust toolchain.
If you are inside the CLI crate directory:
cli/, so install it with:
bridge through Cargo’s normal binary path, which is usually:
Verify the installation
No matter which install path you use, the two quickest checks are:PATH setup
What the Unix installer updates
The shell installer tries to update PATH based on your detected shell:zsh:~/.zprofileon macOS if it already exists, plus~/.zshrcbash:~/.bash_profileon macOS or~/.bashrcon Linuxfish:~/.config/fish/config.fishif it already exists
What the Windows installer updates
The PowerShell installer appends Bridge’s install directory to the user PATH environment variable. After installation, restart your terminal so the updated PATH is picked up.Shell completions
Bridge can generate completions for these shells:bashelvishfishpowershellzsh
bridge completions does not require a bridge.yaml file because it only emits shell integration code.
Automatic completion setup by the official installers
The release installers currently try to wire up completions like this:| Shell | Automatic installer behavior |
|---|---|
zsh | Writes ~/.zfunc/_bridge and adds ~/.zfunc to fpath in ~/.zshrc if needed |
bash | Writes ~/.local/share/bash-completion/completions/bridge |
fish | Writes ~/.config/fish/completions/bridge.fish |
powershell | Appends the generated completion script to $PROFILE |
elvish | No automatic installer wiring today |
Manual completion setup
If you want to manage completion files yourself, Bridge already gives you the generated script on stdout.Zsh
~/.zfunc is not already on your fpath, add this to ~/.zshrc:
Bash
Fish
PowerShell
Elvish
Bridge can generate an Elvish completion script:Common install issues
`bridge` is still not found after installation
`bridge` is still not found after installation
Your PATH change may not be loaded in the current terminal session yet. Restart your shell or add Bridge’s install directory to PATH manually.
Checksum verification failed
Checksum verification failed
Bridge will not install a release archive whose SHA-256 digest does not match
checksums.txt. Try again, or inspect the release assets and checksums on GitHub before installing manually.My architecture is not supported by the installer
My architecture is not supported by the installer
The current scripts do not support Linux
arm64 or Windows ARM64. In those cases, use a supported release target or build from source if your toolchain and platform can support it.Completions were not loaded automatically
Completions were not loaded automatically
Bridge may already be installed correctly even if completion setup failed. Generate the completion script manually with
bridge completions <shell> and place it in your shell’s completion directory.Uninstall
If you installed with the official release scripts, remove the user-local Bridge directory:Related pages
Quickstart
Once Bridge is installed, use the quickstart to create
bridge.yaml and connect your first provider.Commands
See the full CLI reference, including the
bridge completions command.Development
If you are building Bridge itself, see the contributor workflow and local Rust setup.